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.001312/0.001312, allocations: 101 kB / 16.27 MB, free: 5.93 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.001279/0.001279, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.442/1.442, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8563/0.8563, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 0.4957 GB, free: 2.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4415, allocations: 78.86 MB / 0.5728 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002796/0.4443, allocations: 1.43 MB / 0.5742 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.4455, allocations: 0.7904 MB / 0.5749 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.4455, allocations: 0.5938 kB / 0.5749 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.4456, allocations: 5.203 kB / 0.5749 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.4456, allocations: 2.594 kB / 0.5749 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.4461, allocations: 126.9 kB / 0.5751 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.988e-05/0.4462, allocations: 34.41 kB / 0.5751 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.802e-05/0.4463, allocations: 12.14 kB / 0.5751 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.4463, allocations: 17.53 kB / 0.5751 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.4464, allocations: 21.47 kB / 0.5751 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.4464, allocations: 6.688 kB / 0.5751 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.447, allocations: 316.2 kB / 0.5754 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.447, allocations: 7.156 kB / 0.5754 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.447, allocations: 13.81 kB / 0.5755 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.4474, allocations: 197.8 kB / 0.5757 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4474, allocations: 2.344 kB / 0.5757 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4474, allocations: 0 / 0.5757 GB, free: 29.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.4475, allocations: 0 / 0.5757 GB, free: 29.04 MB / 446.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.0005231/0.448, allocations: 375.5 kB / 0.576 GB, free: 28.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.448, allocations: 10.47 kB / 0.576 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000506/0.4485, allocations: 70.8 kB / 0.5761 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.948e-05/0.4487, allocations: 167.4 kB / 0.5762 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.4487, allocations: 1.438 kB / 0.5763 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.4487, allocations: 2.094 kB / 0.5763 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.449, allocations: 90.89 kB / 0.5763 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.449, allocations: 0 / 0.5763 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4491, allocations: 2.062 kB / 0.5763 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4491, allocations: 0 / 0.5763 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.4495, allocations: 87.55 kB / 0.5764 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.45, allocations: 298.7 kB / 0.5767 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.4504, allocations: 98.7 kB / 0.5768 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.4506, allocations: 53.33 kB / 0.5769 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.4506, allocations: 0 / 0.5769 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.4507, allocations: 33.03 kB / 0.5769 GB, free: 28.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.4507, allocations: 0.9375 kB / 0.5769 GB, free: 28.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008213/0.4515, allocations: 166.6 kB / 0.577 GB, free: 27.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.4516, allocations: 52.12 kB / 0.5771 GB, free: 27.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.4516, allocations: 103.6 kB / 0.5772 GB, free: 27.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.4517, allocations: 27.69 kB / 0.5772 GB, free: 27.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.4517, allocations: 90.2 kB / 0.5773 GB, free: 27.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.4517, allocations: 0.9688 kB / 0.5773 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.4518, allocations: 19.2 kB / 0.5773 GB, free: 27.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.4519, allocations: 318.1 kB / 0.5776 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.4521, allocations: 44.11 kB / 0.5777 GB, free: 27.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.4523, allocations: 44.88 kB / 0.5777 GB, free: 27.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.4527, allocations: 97.36 kB / 0.5778 GB, free: 27.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4528, allocations: 0 / 0.5778 GB, free: 27.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004553/0.4532, allocations: 128 kB / 0.5779 GB, free: 27.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4532, allocations: 9.969 kB / 0.5779 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4533, allocations: 0 / 0.5779 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.4533, allocations: 5.609 kB / 0.5779 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.4535, allocations: 21.67 kB / 0.578 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.4535, allocations: 7.438 kB / 0.578 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.4536, allocations: 18.97 kB / 0.578 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.4536, allocations: 3.984 kB / 0.578 GB, free: 27.21 MB / 446.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 7.086e-05/0.4537, allocations: 112.5 kB / 0.5781 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.4537, allocations: 1.375 kB / 0.5781 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.4538, allocations: 12.94 kB / 0.5781 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4538, allocations: 1.375 kB / 0.5781 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4538, allocations: 0.5 kB / 0.5781 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4538, allocations: 2.031 kB / 0.5781 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.454, allocations: 172.4 kB / 0.5783 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.454, allocations: 1.969 kB / 0.5783 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.4541, allocations: 22.28 kB / 0.5783 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4541, allocations: 1.375 kB / 0.5783 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4541, allocations: 5.359 kB / 0.5783 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4542, allocations: 4.609 kB / 0.5783 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4542, allocations: 0 / 0.5783 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.4546, allocations: 229.4 kB / 0.5785 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.4547, allocations: 78.48 kB / 0.5786 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.4547, allocations: 0 / 0.5786 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4548, allocations: 17.45 kB / 0.5786 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.4549, allocations: 5.359 kB / 0.5786 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.4549, allocations: 1.375 kB / 0.5786 GB, free: 26.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.158e-05/0.455, allocations: 84.12 kB / 0.5787 GB, free: 26.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.042e-06/0.455, allocations: 0 / 0.5787 GB, free: 26.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.4552, allocations: 20.28 kB / 0.5787 GB, free: 26.48 MB / 446.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.0001681/0.4554, allocations: 103.9 kB / 0.5788 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005028/0.4559, allocations: 98.8 kB / 0.5789 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4559, allocations: 5.281 kB / 0.5789 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.4562, allocations: 45.45 kB / 0.579 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.4565, allocations: 11.41 kB / 0.579 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.4571, allocations: 156 kB / 0.5791 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.4572, allocations: 0.6769 MB / 0.5798 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.586e-05/0.4573, allocations: 9.406 kB / 0.5798 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.4573, allocations: 13.72 kB / 0.5798 GB, free: 25.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4573, allocations: 0 / 0.5798 GB, free: 25.49 MB / 446.1 MB Notification: Performance of Templates: time 0.003324/0.4606, allocations: 0.82 MB / 0.5806 GB, free: 25.07 MB / 446.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)