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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001126, allocations: 105.7 kB / 16.4 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 196 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7059/0.7059, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 71.22 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1487, allocations: 76.18 MB / 0.6321 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001697/0.1504, allocations: 0.5914 MB / 0.6327 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1522, allocations: 1.451 MB / 0.6341 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.1522, allocations: 0 / 0.6341 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.1522, allocations: 3.938 kB / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.184e-05/0.1523, allocations: 0 / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/0.1527, allocations: 147.4 kB / 0.6343 GB, free: 2.152 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.731e-05/0.1528, allocations: 23.97 kB / 0.6343 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.1529, allocations: 4 kB / 0.6343 GB, free: 2.125 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.441e-05/0.1529, allocations: 23.91 kB / 0.6343 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.219e-05/0.153, allocations: 23.97 kB / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.153, allocations: 4 kB / 0.6343 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.1535, allocations: 319.3 kB / 0.6346 GB, free: 1.762 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.1535, allocations: 7.984 kB / 0.6347 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.1535, allocations: 15.92 kB / 0.6347 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.1538, allocations: 183.6 kB / 0.6348 GB, free: 1.559 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1538, allocations: 4 kB / 0.6348 GB, free: 1.555 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1538, allocations: 0 / 0.6348 GB, free: 1.555 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1538, allocations: 0 / 0.6348 GB, free: 1.555 MB / 478.1 MB 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.0005015/0.1543, allocations: 363.5 kB / 0.6352 GB, free: 1.152 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1544, allocations: 12.02 kB / 0.6352 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/0.1548, allocations: 68.77 kB / 0.6353 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1549, allocations: 168.3 kB / 0.6354 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.155, allocations: 4.375 kB / 0.6354 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.155, allocations: 384 / 0.6354 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.1553, allocations: 73.95 kB / 0.6355 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1553, allocations: 4 kB / 0.6355 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1553, allocations: 4 kB / 0.6355 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1553, allocations: 0 / 0.6355 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.1556, allocations: 67.92 kB / 0.6356 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.1558, allocations: 161.7 kB / 0.6357 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.1564, allocations: 118.5 kB / 0.6358 GB, free: 392 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.1565, allocations: 48.91 kB / 0.6359 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.157, allocations: 157 kB / 0.636 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.157, allocations: 38.5 kB / 0.6361 GB, free: 116 kB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.157, allocations: 0 / 0.6361 GB, free: 116 kB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.001137/0.1582, allocations: 402.2 kB / 0.6365 GB, free: 15.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1582, allocations: 55.41 kB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.1583, allocations: 97.84 kB / 0.6366 GB, free: 15.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1583, allocations: 29.7 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.1583, allocations: 80.14 kB / 0.6367 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1584, allocations: 15.75 kB / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.1584, allocations: 25.64 kB / 0.6368 GB, free: 15.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1585, allocations: 314.8 kB / 0.6371 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.1587, allocations: 40.09 kB / 0.6371 GB, free: 14.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1589, allocations: 35.89 kB / 0.6371 GB, free: 14.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1591, allocations: 76.81 kB / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1592, allocations: 0 / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003747/0.1595, allocations: 121.5 kB / 0.6373 GB, free: 14.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1596, allocations: 4 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1596, allocations: 0 / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1596, allocations: 4.25 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1597, allocations: 23.97 kB / 0.6373 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1597, allocations: 4 kB / 0.6373 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.1598, allocations: 11.98 kB / 0.6374 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1599, allocations: 4 kB / 0.6374 GB, free: 14.69 MB / 494.1 MB 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 7.864e-05/0.16, allocations: 117.8 kB / 0.6375 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.16, allocations: 7.938 kB / 0.6375 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.1604, allocations: 129.2 kB / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1604, allocations: 336 / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1604, allocations: 0 / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1605, allocations: 0 / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1606, allocations: 173.6 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1606, allocations: 3.984 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1608, allocations: 31.91 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1608, allocations: 3.938 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1608, allocations: 0 / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1608, allocations: 7.938 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1608, allocations: 0 / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/0.1614, allocations: 181 kB / 0.638 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.1614, allocations: 92.97 kB / 0.6381 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1615, allocations: 4 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1616, allocations: 11.98 kB / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.1616, allocations: 4 kB / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1616, allocations: 3.984 kB / 0.6381 GB, free: 13.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.014e-05/0.1617, allocations: 83.34 kB / 0.6382 GB, free: 13.74 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1617, allocations: 0 / 0.6382 GB, free: 13.74 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.1619, allocations: 32 kB / 0.6382 GB, free: 13.71 MB / 494.1 MB 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.000203/0.1621, allocations: 131.2 kB / 0.6383 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.1625, allocations: 84.02 kB / 0.6384 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1625, allocations: 3.938 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1627, allocations: 52.2 kB / 0.6385 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.1628, allocations: 4 kB / 0.6385 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.1634, allocations: 177.5 kB / 0.6386 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1637, allocations: 0.6807 MB / 0.6393 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.89e-05/0.1638, allocations: 19.98 kB / 0.6393 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.1638, allocations: 11.44 kB / 0.6393 GB, free: 12.49 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1638, allocations: 0 / 0.6393 GB, free: 12.49 MB / 494.1 MB Notification: Performance of Templates: time 0.003191/0.167, allocations: 1.159 MB / 0.6405 GB, free: 11.33 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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)