Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00125/0.00125, allocations: 110 kB / 18.93 MB, free: 2.945 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.001265/0.001265, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.318/1.318, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002371/0.002371, allocations: 283.7 kB / 306.5 MB, free: 8.328 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.157/1.157, allocations: 180.9 MB / 0.53 GB, free: 14.45 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 108.7 kB / 0.7309 GB, free: 38.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1461, allocations: 94.19 MB / 0.8229 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001676/0.1478, allocations: 0.6145 MB / 0.8235 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1495, allocations: 1.468 MB / 0.8249 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.1496, allocations: 0 / 0.8249 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.1496, allocations: 3.938 kB / 0.8249 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.666e-05/0.1496, allocations: 4 kB / 0.8249 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.1501, allocations: 139.4 kB / 0.825 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.681e-05/0.1502, allocations: 27.97 kB / 0.8251 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.1502, allocations: 7.938 kB / 0.8251 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.1502, allocations: 19.98 kB / 0.8251 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.1503, allocations: 19.97 kB / 0.8251 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1503, allocations: 4 kB / 0.8251 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.1508, allocations: 323.3 kB / 0.8254 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.1508, allocations: 3.938 kB / 0.8254 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.1508, allocations: 11.98 kB / 0.8254 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.1511, allocations: 191.5 kB / 0.8256 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1511, allocations: 0 / 0.8256 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1511, allocations: 0 / 0.8256 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1512, allocations: 0 / 0.8256 GB, free: 14.88 MB / 0.5762 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.0005362/0.1517, allocations: 298 kB / 0.8259 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1517, allocations: 8.625 kB / 0.8259 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004743/0.1522, allocations: 68.84 kB / 0.826 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1523, allocations: 114.5 kB / 0.8261 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.1523, allocations: 4.375 kB / 0.8261 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1524, allocations: 384 / 0.8261 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.1526, allocations: 81.94 kB / 0.8262 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1526, allocations: 3.984 kB / 0.8262 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1526, allocations: 0 / 0.8262 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1526, allocations: 3.938 kB / 0.8262 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.1529, allocations: 63.94 kB / 0.8262 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.1531, allocations: 144.7 kB / 0.8264 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/0.1537, allocations: 122.5 kB / 0.8265 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.1539, allocations: 44.92 kB / 0.8265 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/0.1543, allocations: 71.91 kB / 0.8266 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.1544, allocations: 42.5 kB / 0.8267 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.1544, allocations: 0 / 0.8267 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001166/0.1555, allocations: 333 kB / 0.827 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1556, allocations: 51.41 kB / 0.827 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.1557, allocations: 101.8 kB / 0.8271 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1557, allocations: 25.7 kB / 0.8271 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.1557, allocations: 84.14 kB / 0.8272 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.1557, allocations: 11.86 kB / 0.8272 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.1558, allocations: 25.7 kB / 0.8273 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1559, allocations: 315 kB / 0.8276 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.1561, allocations: 39.91 kB / 0.8276 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.1562, allocations: 39.95 kB / 0.8276 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.1566, allocations: 76.98 kB / 0.8277 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1566, allocations: 4 kB / 0.8277 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003686/0.1569, allocations: 109.6 kB / 0.8278 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1569, allocations: 8 kB / 0.8278 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1569, allocations: 0 / 0.8278 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.157, allocations: 0 / 0.8278 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1571, allocations: 27.97 kB / 0.8279 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1571, allocations: 3.938 kB / 0.8279 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.1572, allocations: 11.98 kB / 0.8279 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1572, allocations: 4 kB / 0.8279 GB, free: 12.37 MB / 0.5762 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 9.222e-05/0.1573, allocations: 110.5 kB / 0.828 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.1573, allocations: 15.88 kB / 0.828 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.1578, allocations: 129.4 kB / 0.8281 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1578, allocations: 0 / 0.8281 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1578, allocations: 4 kB / 0.8281 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.1578, allocations: 3.984 kB / 0.8281 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.1579, allocations: 136.7 kB / 0.8283 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1579, allocations: 0 / 0.8283 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.1581, allocations: 31.84 kB / 0.8283 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1581, allocations: 0 / 0.8283 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1581, allocations: 4 kB / 0.8283 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1581, allocations: 4 kB / 0.8283 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1581, allocations: 0 / 0.8283 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.1587, allocations: 181 kB / 0.8285 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.1588, allocations: 16.23 kB / 0.8285 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1588, allocations: 4 kB / 0.8285 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1589, allocations: 12.17 kB / 0.8285 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.1589, allocations: 12.06 kB / 0.8285 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1589, allocations: 7.984 kB / 0.8285 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.159, allocations: 79.22 kB / 0.8286 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.159, allocations: 0 / 0.8286 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002207/0.1592, allocations: 31.88 kB / 0.8286 GB, free: 11.52 MB / 0.5762 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.00019/0.1594, allocations: 135 kB / 0.8287 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003832/0.1598, allocations: 80.02 kB / 0.8288 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1598, allocations: 0 / 0.8288 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.16, allocations: 51.89 kB / 0.8289 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1601, allocations: 8 kB / 0.8289 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.1607, allocations: 184.1 kB / 0.8291 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.161, allocations: 0.6768 MB / 0.8297 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.705e-05/0.1611, allocations: 19.98 kB / 0.8297 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.1611, allocations: 11.44 kB / 0.8297 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1611, allocations: 0 / 0.8297 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.003498/0.1646, allocations: 1.179 MB / 0.8309 GB, free: 9.129 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.637718494981527] Failed to read output from testmodel.py, exit status != 0: 0.17139220517128706 0.18542267099999996 0.03145191 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5a046c17b0>