Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 443.5 MB / 0.7287 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 67.91 kB / 1.056 GB, free: 2.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3491, allocations: 160.7 MB / 1.213 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001876/0.351, allocations: 0.5982 MB / 1.214 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.3531, allocations: 1.458 MB / 1.215 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.3531, allocations: 0 / 1.215 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.3531, allocations: 3.938 kB / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.223e-05/0.3532, allocations: 0 / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.3537, allocations: 143.4 kB / 1.215 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.122e-05/0.3538, allocations: 27.97 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.3539, allocations: 4 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.405e-05/0.3539, allocations: 19.92 kB / 1.215 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.015e-05/0.354, allocations: 23.95 kB / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.354, allocations: 0 / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004687/0.3545, allocations: 315.4 kB / 1.215 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.3545, allocations: 15.97 kB / 1.215 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.3545, allocations: 7.938 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.3548, allocations: 195.7 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3548, allocations: 8 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3548, allocations: 3.938 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3548, allocations: 0 / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005753/0.3554, allocations: 367.1 kB / 1.216 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3555, allocations: 8.031 kB / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.3555, allocations: 34.75 kB / 1.216 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/0.356, allocations: 64.84 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3561, allocations: 164.4 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.3561, allocations: 384 / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.3561, allocations: 8.375 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.3564, allocations: 81.73 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3564, allocations: 0 / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.3564, allocations: 0 / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.3565, allocations: 4 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.3568, allocations: 67.86 kB / 1.216 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.357, allocations: 161.6 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.3576, allocations: 130.6 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.3577, allocations: 48.84 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004721/0.3582, allocations: 153 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.3583, allocations: 38.5 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3583, allocations: 0 / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.001189/0.3594, allocations: 406.1 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.3595, allocations: 55.34 kB / 1.217 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.3596, allocations: 97.86 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3596, allocations: 29.83 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.3596, allocations: 84.12 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.3597, allocations: 11.91 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.3597, allocations: 21.72 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3598, allocations: 314.8 kB / 1.218 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.36, allocations: 35.97 kB / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.3601, allocations: 35.97 kB / 1.218 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.3605, allocations: 80.98 kB / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3605, allocations: 0 / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003606/0.3608, allocations: 121.5 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3608, allocations: 4 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3608, allocations: 3.938 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3609, allocations: 0 / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.361, allocations: 23.97 kB / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.361, allocations: 0 / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.772e-05/0.3611, allocations: 15.98 kB / 1.218 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3611, allocations: 7.938 kB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.32e-05/0.3612, allocations: 109.8 kB / 1.218 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.3612, allocations: 7.938 kB / 1.218 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.3617, allocations: 137.1 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3617, allocations: 0 / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3617, allocations: 0 / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3617, allocations: 0 / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.3618, allocations: 173.6 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3618, allocations: 3.938 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.362, allocations: 27.97 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.362, allocations: 0 / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.362, allocations: 3.938 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.362, allocations: 0 / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.362, allocations: 4 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005684/0.3626, allocations: 181.9 kB / 1.219 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/0.3627, allocations: 93.02 kB / 1.219 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3627, allocations: 8.391 kB / 1.219 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.3628, allocations: 15.97 kB / 1.219 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.3628, allocations: 7.938 kB / 1.219 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.3629, allocations: 0 / 1.219 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.3629, allocations: 83.28 kB / 1.219 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3629, allocations: 0 / 1.219 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002343/0.3631, allocations: 31.86 kB / 1.219 GB, free: 10.61 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009726/0.3641, allocations: 0.749 MB / 1.22 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003731/0.3645, allocations: 83.94 kB / 1.22 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3645, allocations: 0 / 1.22 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.3646, allocations: 47.95 kB / 1.22 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.3648, allocations: 6.234 kB / 1.22 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.3669, allocations: 1.356 MB / 1.221 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3672, allocations: 0.6884 MB / 1.222 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.439e-05/0.3673, allocations: 19.94 kB / 1.222 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.3673, allocations: 15.44 kB / 1.222 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3673, allocations: 0 / 1.222 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.3941, allocations: 2.079 MB / 1.224 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.539, allocations: 7.641 kB / 1.224 GB, free: 5.57 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.530637525953352] Failed to read output from testmodel.py, exit status != 0: 8.612901855260134 8.639980766 8.279885243 Calling exit ...