Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000849/0.000849, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009541/0.0009541, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9137/0.9137, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.805/1.805, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.25e-05, allocations: 2.281 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001634/0.001666, allocations: 0.6173 MB / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.004247, allocations: 1.42 MB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.004279, allocations: 0 / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.004298, allocations: 0 / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.955e-05/0.004327, allocations: 4 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.004894, allocations: 143.4 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.456e-05/0.004969, allocations: 31.95 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.005013, allocations: 4 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.254e-05/0.005076, allocations: 23.92 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.725e-05/0.005173, allocations: 27.91 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.005194, allocations: 0 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.005616, allocations: 243.5 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.005638, allocations: 15.97 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.005663, allocations: 7.984 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.00601, allocations: 207.4 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.006013, allocations: 0 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006014, allocations: 0 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.006018, allocations: 0 / 1.004 GB, free: 10.21 MB / 0.9636 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.0004363/0.006454, allocations: 290 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.006494, allocations: 13.34 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.006764, allocations: 76.73 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.732e-05/0.006841, allocations: 105.8 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.006861, allocations: 384 / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.006882, allocations: 4.375 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.007054, allocations: 95.91 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.00706, allocations: 8.188 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.007073, allocations: 4.359 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.007078, allocations: 3.938 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.007222, allocations: 63.88 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.007354, allocations: 121.3 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.007809, allocations: 114.5 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.00789, allocations: 44.89 kB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/0.008115, allocations: 83.91 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.008133, allocations: 30.56 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.008134, allocations: 0 / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0006854/0.00882, allocations: 329.1 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.008848, allocations: 59.28 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.641e-05/0.008895, allocations: 97.84 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.008907, allocations: 29.7 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.008931, allocations: 88.06 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.008955, allocations: 11.86 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.008989, allocations: 29.83 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.009064, allocations: 314.8 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.009139, allocations: 35.97 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.736e-05/0.009206, allocations: 35.97 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.009358, allocations: 72.8 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.009359, allocations: 4 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001838/0.009543, allocations: 109.6 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.009555, allocations: 7.938 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.00956, allocations: 4 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.009573, allocations: 0 / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.202e-05/0.009645, allocations: 27.91 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.009651, allocations: 4.25 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.009689, allocations: 7.984 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.009696, allocations: 11.94 kB / 1.006 GB, free: 7.719 MB / 0.9636 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 5.524e-05/0.009752, allocations: 113.8 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-06/0.00976, allocations: 4 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.009996, allocations: 129.4 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.009998, allocations: 0 / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01, allocations: 7.875 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01001, allocations: 4 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.279e-05/0.01008, allocations: 113.3 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01008, allocations: 0 / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.641e-05/0.01015, allocations: 19.98 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01015, allocations: 3.984 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.01016, allocations: 4 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01016, allocations: 4 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01016, allocations: 0 / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.01045, allocations: 188.9 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.01048, allocations: 7.922 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.01049, allocations: 4.031 kB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.01054, allocations: 15.98 kB / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.01056, allocations: 11.86 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.01056, allocations: 4 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.119e-05/0.01058, allocations: 75.28 kB / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01058, allocations: 0 / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001593/0.01074, allocations: 32.08 kB / 1.007 GB, free: 6.922 MB / 0.9636 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.0001529/0.0109, allocations: 135 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.0111, allocations: 83.92 kB / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.0111, allocations: 0 / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.01117, allocations: 43.91 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.0113, allocations: 2.062 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.01174, allocations: 206.9 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.01178, allocations: 63.34 kB / 1.007 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.01183, allocations: 12.5 kB / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of SimCode: time 9.71e-07/0.01183, allocations: 7.938 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of Templates: time 0.002643/0.01447, allocations: 1.153 MB / 1.008 GB, free: 5.172 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 6.675440683960915] Failed to read output from testmodel.py, exit status != 0: 0.02142965141683817 0.029631296 0.021705727 Calling exit ...