Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.001481/0.001481, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 298.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9387/0.9387, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 103.8 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4624, allocations: 86.96 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001663/0.4641, allocations: 0.6292 MB / 0.7677 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.4658, allocations: 1.45 MB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.4658, allocations: 0 / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.4658, allocations: 3.938 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.146e-05/0.4659, allocations: 7.922 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.4663, allocations: 127.5 kB / 0.7693 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.967e-05/0.4664, allocations: 23.92 kB / 0.7693 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.4664, allocations: 4 kB / 0.7693 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.493e-05/0.4664, allocations: 15.92 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.4665, allocations: 23.84 kB / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.4665, allocations: 4 kB / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.467, allocations: 311.4 kB / 0.7696 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.467, allocations: 15.97 kB / 0.7696 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.467, allocations: 11.88 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.4673, allocations: 191.2 kB / 0.7698 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4673, allocations: 0 / 0.7698 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4673, allocations: 0 / 0.7698 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.4673, allocations: 0 / 0.7698 GB, free: 1.098 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004761/0.4678, allocations: 384.6 kB / 0.7702 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.4678, allocations: 12.03 kB / 0.7702 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/0.4682, allocations: 60.86 kB / 0.7703 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.4683, allocations: 176.2 kB / 0.7704 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4684, allocations: 4.375 kB / 0.7704 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.4684, allocations: 384 / 0.7704 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.4686, allocations: 79.75 kB / 0.7705 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4687, allocations: 0 / 0.7705 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.4687, allocations: 4 kB / 0.7705 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4687, allocations: 4 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/0.469, allocations: 71.91 kB / 0.7706 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.4692, allocations: 169.7 kB / 0.7708 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.4697, allocations: 122.4 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.4699, allocations: 48.94 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.4699, allocations: 0 / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.47, allocations: 38.5 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.47, allocations: 0 / 0.771 GB, free: 15.79 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003881/0.4739, allocations: 0.7889 MB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.4739, allocations: 55.41 kB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.474, allocations: 113.8 kB / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.474, allocations: 29.7 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.4741, allocations: 88.12 kB / 0.772 GB, free: 14.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.4741, allocations: 27.56 kB / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.4742, allocations: 29.7 kB / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4743, allocations: 314.8 kB / 0.7724 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.4747, allocations: 95.91 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.4751, allocations: 99.98 kB / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007912/0.4759, allocations: 196.7 kB / 0.7727 GB, free: 13.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4759, allocations: 0 / 0.7727 GB, free: 13.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008735/0.4768, allocations: 249.3 kB / 0.773 GB, free: 13.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4768, allocations: 6.344 kB / 0.773 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4768, allocations: 0 / 0.773 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4769, allocations: 0 / 0.773 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.4772, allocations: 59.94 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4772, allocations: 3.984 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.4774, allocations: 31.97 kB / 0.7731 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.4774, allocations: 7.984 kB / 0.7731 GB, free: 13.57 MB / 0.545 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 (9): * Single equations (assignments): 9 * 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.914e-05/0.4775, allocations: 120.2 kB / 0.7732 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.4776, allocations: 3.906 kB / 0.7732 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.4776, allocations: 12.38 kB / 0.7732 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4776, allocations: 0 / 0.7732 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4776, allocations: 0 / 0.7732 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4776, allocations: 3.984 kB / 0.7732 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.4792, allocations: 0.6013 MB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4792, allocations: 3.938 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.4795, allocations: 59.98 kB / 0.7739 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4795, allocations: 0 / 0.7739 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4795, allocations: 4 kB / 0.7739 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4795, allocations: 0 / 0.7739 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4795, allocations: 0 / 0.7739 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000903/0.4804, allocations: 352.9 kB / 0.7742 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.4805, allocations: 81.02 kB / 0.7743 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.4805, allocations: 7.938 kB / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.4807, allocations: 35.95 kB / 0.7743 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.4808, allocations: 16.3 kB / 0.7743 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.4808, allocations: 7.984 kB / 0.7743 GB, free: 12.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.4809, allocations: 87.28 kB / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4809, allocations: 4 kB / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000275/0.4812, allocations: 39.98 kB / 0.7745 GB, free: 12.03 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.000189/0.4814, allocations: 127.2 kB / 0.7746 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008806/0.4822, allocations: 211.7 kB / 0.7748 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4823, allocations: 0 / 0.7748 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.4827, allocations: 112.6 kB / 0.7749 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.4829, allocations: 4 kB / 0.7749 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.4844, allocations: 419.9 kB / 0.7753 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.4847, allocations: 0.6885 MB / 0.776 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.4848, allocations: 23.42 kB / 0.776 GB, free: 10.39 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4848, allocations: 0 / 0.776 GB, free: 10.39 MB / 0.545 GB Notification: Performance of Templates: time 0.003003/0.4878, allocations: 1.438 MB / 0.7774 GB, free: 8.957 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)