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.0008411/0.0008411, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009376/0.0009375, allocations: 172.8 kB / 16.58 MB, free: 5.93 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.359/1.359, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7028/0.7028, allocations: 115.5 MB / 407.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003273, allocations: 12 kB / 495.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1341, allocations: 77.53 MB / 0.5593 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.001546/0.1357, allocations: 1.147 MB / 0.5604 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1369, allocations: 0.726 MB / 0.5611 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.1369, allocations: 0 / 0.5611 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.1369, allocations: 3.984 kB / 0.5612 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.137, allocations: 3.938 kB / 0.5612 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1374, allocations: 107.7 kB / 0.5613 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.69e-05/0.1374, allocations: 23.92 kB / 0.5613 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.904e-05/0.1375, allocations: 4 kB / 0.5613 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.998e-05/0.1375, allocations: 15.92 kB / 0.5613 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.1376, allocations: 19.91 kB / 0.5613 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1376, allocations: 4 kB / 0.5613 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.1381, allocations: 303.4 kB / 0.5616 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1381, allocations: 12 kB / 0.5616 GB, free: 7.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.1381, allocations: 25.7 kB / 0.5616 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.1384, allocations: 135.8 kB / 0.5618 GB, free: 6.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1384, allocations: 0 / 0.5618 GB, free: 6.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1384, allocations: 7.938 kB / 0.5618 GB, free: 6.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1384, allocations: 0 / 0.5618 GB, free: 6.863 MB / 430.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.0005037/0.1389, allocations: 367.5 kB / 0.5621 GB, free: 6.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.139, allocations: 16.03 kB / 0.5622 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004346/0.1394, allocations: 79.91 kB / 0.5622 GB, free: 6.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.1396, allocations: 167.1 kB / 0.5624 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.1396, allocations: 0 / 0.5624 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.1396, allocations: 0 / 0.5624 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.1399, allocations: 97.62 kB / 0.5625 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1399, allocations: 3.953 kB / 0.5625 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1399, allocations: 0 / 0.5625 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1399, allocations: 0 / 0.5625 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.1404, allocations: 119.9 kB / 0.5626 GB, free: 5.938 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.1409, allocations: 304.7 kB / 0.5629 GB, free: 5.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.1413, allocations: 122.5 kB / 0.563 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.1415, allocations: 64.86 kB / 0.5631 GB, free: 5.395 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1415, allocations: 3.938 kB / 0.5631 GB, free: 5.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1415, allocations: 30.56 kB / 0.5631 GB, free: 5.352 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.1415, allocations: 4 kB / 0.5631 GB, free: 5.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006805/0.1422, allocations: 205.5 kB / 0.5633 GB, free: 5.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1423, allocations: 59.39 kB / 0.5634 GB, free: 5.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.801e-05/0.1423, allocations: 97.86 kB / 0.5635 GB, free: 4.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1424, allocations: 25.7 kB / 0.5635 GB, free: 4.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.1424, allocations: 88.14 kB / 0.5636 GB, free: 4.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1424, allocations: 3.906 kB / 0.5636 GB, free: 4.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.1424, allocations: 0 / 0.5636 GB, free: 4.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1426, allocations: 314.8 kB / 0.5639 GB, free: 4.523 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.1428, allocations: 59.95 kB / 0.5639 GB, free: 4.465 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.143, allocations: 59.95 kB / 0.564 GB, free: 4.406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.1431, allocations: 52.02 kB / 0.564 GB, free: 4.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1432, allocations: 0 / 0.564 GB, free: 4.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004283/0.1436, allocations: 157.5 kB / 0.5642 GB, free: 4.195 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1436, allocations: 4 kB / 0.5642 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1436, allocations: 0 / 0.5642 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.1436, allocations: 0 / 0.5642 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1438, allocations: 32 kB / 0.5642 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1438, allocations: 0 / 0.5642 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1439, allocations: 23.97 kB / 0.5642 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1439, allocations: 0 / 0.5642 GB, free: 4.137 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.641e-05/0.144, allocations: 118.9 kB / 0.5643 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.1441, allocations: 3.953 kB / 0.5644 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.1441, allocations: 3.125 kB / 0.5644 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1441, allocations: 3.984 kB / 0.5644 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1441, allocations: 0 / 0.5644 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1441, allocations: 4 kB / 0.5644 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.1443, allocations: 173.5 kB / 0.5645 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1443, allocations: 256 / 0.5645 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.1445, allocations: 27.97 kB / 0.5646 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.1445, allocations: 11.95 kB / 0.5646 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1445, allocations: 0 / 0.5646 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1445, allocations: 3.938 kB / 0.5646 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1445, allocations: 0 / 0.5646 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.145, allocations: 243.4 kB / 0.5648 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.145, allocations: 81.11 kB / 0.5649 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1451, allocations: 3.953 kB / 0.5649 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1452, allocations: 31.94 kB / 0.5649 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1452, allocations: 4 kB / 0.5649 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.1452, allocations: 0 / 0.5649 GB, free: 3.348 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.595e-05/0.1453, allocations: 83.27 kB / 0.565 GB, free: 3.266 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1453, allocations: 0 / 0.565 GB, free: 3.266 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1456, allocations: 16 kB / 0.565 GB, free: 3.25 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001687/0.1457, allocations: 103.2 kB / 0.5651 GB, free: 3.137 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.1462, allocations: 119.9 kB / 0.5652 GB, free: 3.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1462, allocations: 3.938 kB / 0.5652 GB, free: 3.016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.1464, allocations: 60.02 kB / 0.5653 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.1467, allocations: 18.72 kB / 0.5653 GB, free: 2.941 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.1472, allocations: 172 kB / 0.5655 GB, free: 2.754 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.1474, allocations: 0.6808 MB / 0.5661 GB, free: 2.047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.607e-05/0.1475, allocations: 12 kB / 0.5661 GB, free: 2.035 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.1476, allocations: 11.44 kB / 0.5662 GB, free: 2.023 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1476, allocations: 0 / 0.5662 GB, free: 2.023 MB / 430.1 MB Notification: Performance of Templates: time 0.002911/0.1505, allocations: 0.6988 MB / 0.5668 GB, free: 1.332 MB / 430.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)