Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001035/0.001035, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001215/0.001215, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9763/0.9763, allocations: 143.3 MB / 434.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003046, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1568, allocations: 83.4 MB / 0.5973 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.001509/0.1583, allocations: 1.143 MB / 0.5984 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1594, allocations: 0.7337 MB / 0.5991 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.1594, allocations: 0 / 0.5991 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.1595, allocations: 4 kB / 0.5991 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.1595, allocations: 3.984 kB / 0.5991 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.1599, allocations: 95.67 kB / 0.5992 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.647e-05/0.16, allocations: 23.97 kB / 0.5992 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.1601, allocations: 15.98 kB / 0.5992 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.1601, allocations: 15.92 kB / 0.5993 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.1602, allocations: 15.98 kB / 0.5993 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1602, allocations: 0 / 0.5993 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.1606, allocations: 311.5 kB / 0.5996 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.1607, allocations: 3.984 kB / 0.5996 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.1607, allocations: 29.7 kB / 0.5996 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1609, allocations: 143.8 kB / 0.5997 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1609, allocations: 4 kB / 0.5997 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.005e-06/0.161, allocations: 0 / 0.5997 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.161, allocations: 3.938 kB / 0.5997 GB, free: 5.281 MB / 0.4981 GB 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.0005443/0.1615, allocations: 379.5 kB / 0.6001 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1616, allocations: 12.03 kB / 0.6001 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.1621, allocations: 83.91 kB / 0.6002 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.1622, allocations: 167 kB / 0.6004 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.1622, allocations: 4 kB / 0.6004 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1622, allocations: 0 / 0.6004 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.1626, allocations: 97.62 kB / 0.6005 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1626, allocations: 0 / 0.6005 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1626, allocations: 0 / 0.6005 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1626, allocations: 0 / 0.6005 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.1631, allocations: 115.9 kB / 0.6006 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.1636, allocations: 308.6 kB / 0.6009 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.164, allocations: 118.5 kB / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.164, allocations: 0 / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.164, allocations: 30.56 kB / 0.601 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.164, allocations: 0 / 0.601 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007592/0.1648, allocations: 209.6 kB / 0.6012 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1649, allocations: 59.3 kB / 0.6013 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.1649, allocations: 105.8 kB / 0.6014 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.165, allocations: 25.7 kB / 0.6014 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.165, allocations: 84.17 kB / 0.6015 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.165, allocations: 11.91 kB / 0.6015 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.165, allocations: 0 / 0.6015 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.1651, allocations: 310.8 kB / 0.6018 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.1654, allocations: 59.94 kB / 0.6018 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.1656, allocations: 55.95 kB / 0.6019 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.1658, allocations: 56.02 kB / 0.6019 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1658, allocations: 3.938 kB / 0.6019 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004569/0.1663, allocations: 145.6 kB / 0.6021 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.1663, allocations: 15.97 kB / 0.6021 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1663, allocations: 3.984 kB / 0.6021 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1663, allocations: 0 / 0.6021 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.1665, allocations: 23.97 kB / 0.6021 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1665, allocations: 4 kB / 0.6021 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.1666, allocations: 27.94 kB / 0.6021 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1667, allocations: 3.984 kB / 0.6022 GB, free: 2.598 MB / 0.4981 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 (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 7.344e-05/0.1667, allocations: 112.1 kB / 0.6023 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.1668, allocations: 8 kB / 0.6023 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.1668, allocations: 3.125 kB / 0.6023 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1668, allocations: 0 / 0.6023 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1668, allocations: 4 kB / 0.6023 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1668, allocations: 0 / 0.6023 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.167, allocations: 177.5 kB / 0.6024 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.167, allocations: 0 / 0.6024 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.1672, allocations: 27.97 kB / 0.6025 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1672, allocations: 0 / 0.6025 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1672, allocations: 4.25 kB / 0.6025 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1672, allocations: 4 kB / 0.6025 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1672, allocations: 4 kB / 0.6025 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.1677, allocations: 247.3 kB / 0.6027 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.1678, allocations: 77.11 kB / 0.6028 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1678, allocations: 4 kB / 0.6028 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.168, allocations: 19.97 kB / 0.6028 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.168, allocations: 8.031 kB / 0.6028 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.168, allocations: 0 / 0.6028 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.631e-05/0.1681, allocations: 87.27 kB / 0.6029 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1681, allocations: 0 / 0.6029 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002562/0.1683, allocations: 12 kB / 0.6029 GB, free: 1.727 MB / 0.4981 GB 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.0001809/0.1685, allocations: 106.9 kB / 0.603 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004938/0.169, allocations: 127.8 kB / 0.6031 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.169, allocations: 0 / 0.6031 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.1693, allocations: 67.89 kB / 0.6032 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.1695, allocations: 7.953 kB / 0.6032 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.17, allocations: 180.6 kB / 0.6034 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1703, allocations: 0.6809 MB / 0.604 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.752e-05/0.1703, allocations: 8 kB / 0.6041 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.1704, allocations: 11.42 kB / 0.6041 GB, free: 496 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1704, allocations: 0 / 0.6041 GB, free: 496 kB / 0.4981 GB Notification: Performance of Templates: time 0.2366/0.407, allocations: 0.7009 MB / 0.6048 GB, free: 40.59 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: