Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008419/0.0008419, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0009448/0.0009448, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8922/0.8922, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5705/0.5705, allocations: 114 MB / 374.7 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.5555 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.061e-05, allocations: 3.125 kB / 0.5555 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001544/0.001574, allocations: 0.5956 MB / 0.5561 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.003165, allocations: 1.435 MB / 0.5575 GB, free: 156 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.003192, allocations: 0 / 0.5575 GB, free: 156 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.003207, allocations: 0 / 0.5575 GB, free: 156 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.978e-05/0.003237, allocations: 4 kB / 0.5575 GB, free: 152 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.0037, allocations: 143.3 kB / 0.5576 GB, free: 8 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.834e-05/0.003778, allocations: 23.98 kB / 0.5576 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.003822, allocations: 3.984 kB / 0.5576 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.498e-05/0.003887, allocations: 27.97 kB / 0.5577 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.003961, allocations: 23.97 kB / 0.5577 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.003978, allocations: 0 / 0.5577 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.004249, allocations: 243.5 kB / 0.5579 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.004266, allocations: 11.98 kB / 0.5579 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.004287, allocations: 7.922 kB / 0.5579 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.00453, allocations: 211.4 kB / 0.5581 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.004535, allocations: 4 kB / 0.5581 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/0.004536, allocations: 0 / 0.5581 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.004541, allocations: 0 / 0.5581 GB, free: 15.46 MB / 0.5261 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.0004238/0.004965, allocations: 286 kB / 0.5584 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.005003, allocations: 8.625 kB / 0.5584 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.00527, allocations: 68.84 kB / 0.5585 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.888e-05/0.005349, allocations: 109.8 kB / 0.5586 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.005375, allocations: 8.344 kB / 0.5586 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.005395, allocations: 4.375 kB / 0.5586 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.005572, allocations: 99.84 kB / 0.5587 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005579, allocations: 4.188 kB / 0.5587 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.005592, allocations: 4.375 kB / 0.5587 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005597, allocations: 3.938 kB / 0.5587 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.005743, allocations: 63.92 kB / 0.5588 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.00588, allocations: 105.3 kB / 0.5589 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.006224, allocations: 118.5 kB / 0.559 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.006305, allocations: 44.97 kB / 0.559 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.006537, allocations: 87.84 kB / 0.5591 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.006559, allocations: 34.56 kB / 0.5592 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.00656, allocations: 0 / 0.5592 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0007169/0.007277, allocations: 329 kB / 0.5595 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.00731, allocations: 63.28 kB / 0.5595 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.014e-05/0.00736, allocations: 93.86 kB / 0.5596 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.007374, allocations: 33.64 kB / 0.5596 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.007397, allocations: 84.12 kB / 0.5597 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.007421, allocations: 8.031 kB / 0.5597 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.007458, allocations: 25.72 kB / 0.5598 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.007537, allocations: 318.8 kB / 0.5601 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-05/0.007621, allocations: 35.97 kB / 0.5601 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.085e-05/0.007692, allocations: 35.97 kB / 0.5601 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.007844, allocations: 72.8 kB / 0.5602 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007845, allocations: 4 kB / 0.5602 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001886/0.008034, allocations: 117.5 kB / 0.5603 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.008047, allocations: 4 kB / 0.5603 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.008052, allocations: 4 kB / 0.5603 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.008065, allocations: 0 / 0.5603 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.226e-05/0.008137, allocations: 27.91 kB / 0.5604 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.008143, allocations: 0 / 0.5604 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.008186, allocations: 11.98 kB / 0.5604 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.008193, allocations: 4 kB / 0.5604 GB, free: 12.98 MB / 0.5261 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.774e-05/0.008251, allocations: 113.8 kB / 0.5605 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.008261, allocations: 4 kB / 0.5605 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.00852, allocations: 133.3 kB / 0.5606 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.008522, allocations: 0 / 0.5606 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.008528, allocations: 4.25 kB / 0.5606 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.00853, allocations: 0 / 0.5606 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.406e-05/0.008614, allocations: 125.3 kB / 0.5607 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008616, allocations: 0 / 0.5607 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.008696, allocations: 19.98 kB / 0.5607 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008698, allocations: 336 / 0.5607 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.008709, allocations: 4 kB / 0.5608 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.008712, allocations: 4 kB / 0.5608 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.008715, allocations: 3.984 kB / 0.5608 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.009027, allocations: 192.9 kB / 0.5609 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.009067, allocations: 7.969 kB / 0.561 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.00908, allocations: 4 kB / 0.561 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/0.009129, allocations: 15.98 kB / 0.561 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.009153, allocations: 11.86 kB / 0.561 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.00916, allocations: 4 kB / 0.561 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.329e-05/0.009183, allocations: 79.22 kB / 0.5611 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.009183, allocations: 0 / 0.5611 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001659/0.009349, allocations: 44.02 kB / 0.5611 GB, free: 12.16 MB / 0.5261 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.0001738/0.009523, allocations: 119.1 kB / 0.5612 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.009738, allocations: 83.88 kB / 0.5613 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.00974, allocations: 0 / 0.5613 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.457e-05/0.009814, allocations: 43.95 kB / 0.5613 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.009938, allocations: 6.297 kB / 0.5613 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.01034, allocations: 206.4 kB / 0.5615 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.01038, allocations: 67.34 kB / 0.5616 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.01042, allocations: 12.5 kB / 0.5616 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/0.01042, allocations: 4 kB / 0.5616 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.002375/0.0128, allocations: 1.159 MB / 0.5628 GB, free: 10.42 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.931507586501539] Failed to read output from testmodel.py, exit status != 0: 0.01908235065639019 0.027206938000000003 0.020745131 Calling exit ...