Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 115.5 kB / 17.08 MB, free: 6.016 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.001026/0.001026, allocations: 196.7 kB / 18.02 MB, free: 5.094 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.288/1.288, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7009/0.7009, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 70.58 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1505, allocations: 76.19 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.003201/0.1538, allocations: 1.426 MB / 0.6341 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1552, allocations: 0.7913 MB / 0.6349 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.1553, allocations: 4 kB / 0.6349 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.1554, allocations: 3.938 kB / 0.6349 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.1554, allocations: 7.922 kB / 0.6349 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.1561, allocations: 123.5 kB / 0.635 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.611e-05/0.1562, allocations: 43.78 kB / 0.6351 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1563, allocations: 8 kB / 0.6351 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.601e-05/0.1563, allocations: 11.98 kB / 0.6351 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.1564, allocations: 19.92 kB / 0.6351 GB, free: 1.945 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1564, allocations: 4 kB / 0.6351 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000564/0.157, allocations: 319.3 kB / 0.6354 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.567e-05/0.157, allocations: 11.98 kB / 0.6354 GB, free: 1.617 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.1571, allocations: 11.88 kB / 0.6354 GB, free: 1.605 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.1575, allocations: 195.6 kB / 0.6356 GB, free: 1.414 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.1575, allocations: 3.984 kB / 0.6356 GB, free: 1.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1576, allocations: 4 kB / 0.6356 GB, free: 1.406 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1576, allocations: 0 / 0.6356 GB, free: 1.406 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006422/0.1582, allocations: 367.5 kB / 0.636 GB, free: 1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1583, allocations: 8.031 kB / 0.636 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004853/0.1588, allocations: 76.84 kB / 0.6361 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1589, allocations: 168.2 kB / 0.6362 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.159, allocations: 384 / 0.6362 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.159, allocations: 4.375 kB / 0.6362 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/0.1593, allocations: 85.94 kB / 0.6363 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1594, allocations: 0 / 0.6363 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1594, allocations: 4 kB / 0.6363 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1594, allocations: 0 / 0.6363 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.1598, allocations: 91.84 kB / 0.6364 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.1604, allocations: 296.8 kB / 0.6367 GB, free: 192 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.1608, allocations: 98.44 kB / 0.6368 GB, free: 84 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.161, allocations: 52.88 kB / 0.6368 GB, free: 28 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.161, allocations: 0 / 0.6368 GB, free: 28 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.161, allocations: 34.55 kB / 0.6369 GB, free: 15.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/0.161, allocations: 3.984 kB / 0.6369 GB, free: 15.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007568/0.1618, allocations: 169.6 kB / 0.637 GB, free: 15.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1619, allocations: 55.41 kB / 0.6371 GB, free: 15.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.162, allocations: 101.8 kB / 0.6372 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.162, allocations: 25.7 kB / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.162, allocations: 88.12 kB / 0.6373 GB, free: 15.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1621, allocations: 11.94 kB / 0.6373 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.1621, allocations: 13.7 kB / 0.6373 GB, free: 15.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1623, allocations: 318.8 kB / 0.6376 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.1625, allocations: 39.95 kB / 0.6377 GB, free: 15.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1627, allocations: 47.95 kB / 0.6377 GB, free: 15.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.1631, allocations: 96.7 kB / 0.6378 GB, free: 14.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1631, allocations: 0 / 0.6378 GB, free: 14.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004471/0.1635, allocations: 125.8 kB / 0.6379 GB, free: 14.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1635, allocations: 7.938 kB / 0.6379 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1636, allocations: 0 / 0.6379 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1636, allocations: 4 kB / 0.6379 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1638, allocations: 28 kB / 0.638 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1638, allocations: 0 / 0.638 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.1639, allocations: 19.88 kB / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1639, allocations: 4 kB / 0.638 GB, free: 14.79 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 (2): * Single equations (assignments): 2 * 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.318e-05/0.164, allocations: 113.8 kB / 0.6381 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.164, allocations: 0 / 0.6381 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.1641, allocations: 11.12 kB / 0.6381 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1641, allocations: 0 / 0.6381 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1641, allocations: 0 / 0.6381 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1641, allocations: 0 / 0.6381 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.1643, allocations: 173.6 kB / 0.6383 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1643, allocations: 0 / 0.6383 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.1644, allocations: 27.91 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1645, allocations: 7.938 kB / 0.6383 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1645, allocations: 0 / 0.6383 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1645, allocations: 0 / 0.6383 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1645, allocations: 0 / 0.6383 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004999/0.165, allocations: 219.4 kB / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.1651, allocations: 77.11 kB / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.1651, allocations: 3.984 kB / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1652, allocations: 20.02 kB / 0.6386 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.1653, allocations: 0 / 0.6386 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1653, allocations: 7.984 kB / 0.6386 GB, free: 14.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.791e-05/0.1654, allocations: 83.28 kB / 0.6387 GB, free: 13.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1654, allocations: 0 / 0.6387 GB, free: 13.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1656, allocations: 15.91 kB / 0.6387 GB, free: 13.95 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001981/0.1658, allocations: 111.2 kB / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004548/0.1663, allocations: 99.84 kB / 0.6389 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1663, allocations: 0 / 0.6389 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.1665, allocations: 47.94 kB / 0.639 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1669, allocations: 7.938 kB / 0.639 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/0.1675, allocations: 179.3 kB / 0.6391 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1678, allocations: 0.6846 MB / 0.6398 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.1679, allocations: 7.438 kB / 0.6398 GB, free: 12.74 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1679, allocations: 0 / 0.6398 GB, free: 12.74 MB / 494.1 MB Notification: Performance of Templates: time 0.002637/0.1705, allocations: 0.902 MB / 0.6407 GB, free: 11.84 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)