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.006171/0.006171, allocations: 96.81 kB / 15.87 MB, free: 6.242 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.001437/0.001437, allocations: 206.4 kB / 16.8 MB, free: 6.168 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.469/1.469, allocations: 222.9 MB / 240.5 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8182/0.8182, allocations: 126.7 MB / 417.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.67 kB / 0.4951 GB, free: 10.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4289, allocations: 78.86 MB / 0.5721 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002738/0.4317, allocations: 1.494 MB / 0.5735 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.4329, allocations: 0.8079 MB / 0.5743 GB, free: 6.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.4329, allocations: 0 / 0.5743 GB, free: 6.371 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.433, allocations: 0.6094 kB / 0.5743 GB, free: 6.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.4331, allocations: 5.469 kB / 0.5743 GB, free: 6.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.4334, allocations: 102.2 kB / 0.5744 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.208e-05/0.4335, allocations: 30.78 kB / 0.5745 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.4336, allocations: 8.422 kB / 0.5745 GB, free: 6.305 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.464e-05/0.4336, allocations: 13.31 kB / 0.5745 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.4337, allocations: 25.44 kB / 0.5745 GB, free: 6.289 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.4337, allocations: 1.531 kB / 0.5745 GB, free: 6.289 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004932/0.4342, allocations: 313.6 kB / 0.5748 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.4343, allocations: 4.312 kB / 0.5748 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.4343, allocations: 17.22 kB / 0.5748 GB, free: 6.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.4347, allocations: 192.8 kB / 0.575 GB, free: 6.141 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4347, allocations: 0 / 0.575 GB, free: 6.141 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.4347, allocations: 5.281 kB / 0.575 GB, free: 6.137 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.4347, allocations: 0 / 0.575 GB, free: 6.137 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.0005727/0.4353, allocations: 378.1 kB / 0.5754 GB, free: 5.754 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.4353, allocations: 8.781 kB / 0.5754 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.4359, allocations: 70.7 kB / 0.5755 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.4361, allocations: 164.3 kB / 0.5756 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.4361, allocations: 1.156 kB / 0.5756 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.4361, allocations: 5.312 kB / 0.5756 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.4365, allocations: 86.38 kB / 0.5757 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4365, allocations: 3.984 kB / 0.5757 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4365, allocations: 0.6562 kB / 0.5757 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4365, allocations: 1.828 kB / 0.5757 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.437, allocations: 96.19 kB / 0.5758 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/0.4376, allocations: 302.8 kB / 0.5761 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.438, allocations: 94.11 kB / 0.5762 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.4382, allocations: 50.95 kB / 0.5762 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.4382, allocations: 1.375 kB / 0.5762 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.4383, allocations: 35.27 kB / 0.5763 GB, free: 5.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4383, allocations: 1.375 kB / 0.5763 GB, free: 5.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000805/0.4391, allocations: 167.8 kB / 0.5764 GB, free: 5.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.4391, allocations: 51.41 kB / 0.5765 GB, free: 4.977 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.4392, allocations: 103.7 kB / 0.5766 GB, free: 4.875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.4392, allocations: 29.7 kB / 0.5766 GB, free: 4.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.4393, allocations: 86.83 kB / 0.5767 GB, free: 4.754 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.4393, allocations: 5.297 kB / 0.5767 GB, free: 4.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.4393, allocations: 18.42 kB / 0.5767 GB, free: 4.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.4394, allocations: 312.1 kB / 0.577 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.4396, allocations: 46.88 kB / 0.577 GB, free: 4.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.4399, allocations: 50.59 kB / 0.5771 GB, free: 4.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.4403, allocations: 93.94 kB / 0.5772 GB, free: 4.375 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4403, allocations: 0 / 0.5772 GB, free: 4.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004409/0.4407, allocations: 130.5 kB / 0.5773 GB, free: 4.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4407, allocations: 5.781 kB / 0.5773 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4407, allocations: 0.8438 kB / 0.5773 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4408, allocations: 1.188 kB / 0.5773 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.4409, allocations: 20.05 kB / 0.5773 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.441, allocations: 1.469 kB / 0.5773 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.4411, allocations: 20.67 kB / 0.5774 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.4411, allocations: 1.734 kB / 0.5774 GB, free: 4.316 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/0.4412, allocations: 115.6 kB / 0.5775 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.4412, allocations: 1.922 kB / 0.5775 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.4412, allocations: 4.812 kB / 0.5775 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4412, allocations: 1.344 kB / 0.5775 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4412, allocations: 0 / 0.5775 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4413, allocations: 0.9844 kB / 0.5775 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.4414, allocations: 176.7 kB / 0.5776 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4414, allocations: 4 kB / 0.5776 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.4416, allocations: 21.75 kB / 0.5777 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4416, allocations: 0 / 0.5777 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4416, allocations: 1.969 kB / 0.5777 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4416, allocations: 3.938 kB / 0.5777 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4416, allocations: 0.6562 kB / 0.5777 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.442, allocations: 226.5 kB / 0.5779 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.4421, allocations: 78.83 kB / 0.578 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.4421, allocations: 4.719 kB / 0.578 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.4423, allocations: 16.56 kB / 0.578 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.4423, allocations: 7.781 kB / 0.578 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.4423, allocations: 1.547 kB / 0.578 GB, free: 3.723 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.56e-05/0.4423, allocations: 85.08 kB / 0.5781 GB, free: 3.645 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4423, allocations: 7.969 kB / 0.5781 GB, free: 3.637 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.4426, allocations: 15.55 kB / 0.5781 GB, free: 3.633 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 (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.0001715/0.4428, allocations: 105.9 kB / 0.5782 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004911/0.4433, allocations: 100.1 kB / 0.5783 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4433, allocations: 0.7812 kB / 0.5783 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.4435, allocations: 49.28 kB / 0.5783 GB, free: 3.512 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.4439, allocations: 11.91 kB / 0.5784 GB, free: 3.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.4445, allocations: 162.2 kB / 0.5785 GB, free: 3.387 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.4446, allocations: 0.6765 MB / 0.5792 GB, free: 2.691 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.125e-05/0.4447, allocations: 7.562 kB / 0.5792 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.4447, allocations: 11.23 kB / 0.5792 GB, free: 2.68 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4447, allocations: 4 kB / 0.5792 GB, free: 2.676 MB / 430.1 MB Notification: Performance of Templates: time 0.003492/0.4482, allocations: 0.7326 MB / 0.5799 GB, free: 2.598 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)