Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001015/0.001015, allocations: 114 kB / 16.42 MB, free: 6.449 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.001052/0.001052, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.225/1.225, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 284 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8957/0.8957, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 95.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3647, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002336/0.3671, allocations: 1.437 MB / 0.7685 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3682, allocations: 0.793 MB / 0.7692 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.3683, allocations: 4 kB / 0.7692 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.3683, allocations: 0 / 0.7692 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.3683, allocations: 7.922 kB / 0.7692 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.3688, allocations: 127.5 kB / 0.7694 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.3689, allocations: 35.91 kB / 0.7694 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.851e-05/0.369, allocations: 7.938 kB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.369, allocations: 15.98 kB / 0.7694 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.3691, allocations: 19.91 kB / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.3691, allocations: 4 kB / 0.7694 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.3695, allocations: 319.4 kB / 0.7698 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.3695, allocations: 7.984 kB / 0.7698 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.3696, allocations: 11.94 kB / 0.7698 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.3699, allocations: 199.3 kB / 0.77 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3699, allocations: 0 / 0.77 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3699, allocations: 4 kB / 0.77 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3699, allocations: 0 / 0.77 GB, free: 0.8984 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004981/0.3704, allocations: 371.5 kB / 0.7703 GB, free: 500 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3704, allocations: 8.031 kB / 0.7703 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/0.3709, allocations: 68.84 kB / 0.7704 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.371, allocations: 178.8 kB / 0.7706 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.3711, allocations: 384 / 0.7706 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.3711, allocations: 384 / 0.7706 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.3714, allocations: 89.94 kB / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.3714, allocations: 0 / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3714, allocations: 0 / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3714, allocations: 0 / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.3718, allocations: 91.89 kB / 0.7707 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.3723, allocations: 296.9 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.3727, allocations: 102.4 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.373, allocations: 48.86 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.373, allocations: 7.938 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.373, allocations: 34.56 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.373, allocations: 0 / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007199/0.3737, allocations: 169.5 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.3738, allocations: 55.53 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.3739, allocations: 97.86 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.3739, allocations: 25.7 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.3739, allocations: 92.12 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.3739, allocations: 7.844 kB / 0.7716 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.374, allocations: 17.66 kB / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3741, allocations: 310.8 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.3743, allocations: 47.95 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.3745, allocations: 47.94 kB / 0.772 GB, free: 14.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.3749, allocations: 92.83 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3749, allocations: 3.938 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004417/0.3754, allocations: 125.5 kB / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3754, allocations: 4 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3754, allocations: 0 / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3754, allocations: 3.984 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.3756, allocations: 19.98 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3756, allocations: 0 / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3757, allocations: 28 kB / 0.7723 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3757, allocations: 0 / 0.7723 GB, free: 14.28 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 (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.472e-05/0.3758, allocations: 112.2 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.3758, allocations: 4 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.3759, allocations: 11.11 kB / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3759, allocations: 0 / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3759, allocations: 0 / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.3759, allocations: 85.09 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3759, allocations: 4 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.3761, allocations: 19.97 kB / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.3761, allocations: 7.938 kB / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005644/0.3767, allocations: 212.8 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005127/0.3772, allocations: 290.8 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002071/0.3774, allocations: 51.94 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.352e-05/0.3775, allocations: 87.47 kB / 0.7731 GB, free: 13.37 MB / 0.545 GB Notification: Performance of Backend: time 2.41e-07/0.3775, allocations: 4.031 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006323/0.3781, allocations: 166.3 kB / 0.7733 GB, free: 13.19 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004118/0.3785, allocations: 0.5572 MB / 0.7739 GB, free: 12.58 MB / 0.545 GB Notification: Performance of Templates: time 0.00371/0.3823, allocations: 1.728 MB / 0.7755 GB, free: 10.86 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)