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.001219/0.001219, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001188/0.001188, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 285.7 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.8803/0.8803, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 91.8 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3683, allocations: 86.97 MB / 0.7671 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002256/0.3706, allocations: 1.437 MB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3717, allocations: 0.8047 MB / 0.7692 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.3718, allocations: 0 / 0.7692 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.3718, allocations: 3.938 kB / 0.7692 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.912e-05/0.3719, allocations: 4 kB / 0.7692 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.3722, allocations: 119.5 kB / 0.7694 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.722e-05/0.3723, allocations: 31.92 kB / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.266e-05/0.3724, allocations: 11.98 kB / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.137e-05/0.3725, allocations: 19.92 kB / 0.7694 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.3725, allocations: 23.91 kB / 0.7694 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3725, allocations: 4 kB / 0.7694 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004126/0.3729, allocations: 315.4 kB / 0.7698 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.373, allocations: 7.984 kB / 0.7698 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.373, allocations: 11.92 kB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.3733, allocations: 199.3 kB / 0.77 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3733, allocations: 0 / 0.77 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3733, allocations: 0 / 0.77 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.3733, allocations: 0 / 0.77 GB, free: 0.8633 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.0004774/0.3738, allocations: 379.4 kB / 0.7703 GB, free: 456 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3738, allocations: 8.031 kB / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/0.3743, allocations: 68.86 kB / 0.7704 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3744, allocations: 174.8 kB / 0.7706 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3744, allocations: 4.375 kB / 0.7706 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.3744, allocations: 384 / 0.7706 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.3747, allocations: 89.94 kB / 0.7707 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.3747, allocations: 0 / 0.7707 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.3748, allocations: 0 / 0.7707 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.3748, allocations: 0 / 0.7707 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.3752, allocations: 87.98 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.3757, allocations: 300.8 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.3761, allocations: 98.5 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.3763, allocations: 44.88 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.3763, allocations: 0 / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3763, allocations: 34.56 kB / 0.7712 GB, free: 15.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3763, allocations: 7.938 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000714/0.3771, allocations: 165.5 kB / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.3771, allocations: 55.41 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/0.3772, allocations: 106 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3772, allocations: 29.7 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.3772, allocations: 88.14 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.3772, allocations: 7.844 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.3773, allocations: 17.7 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.3774, allocations: 318.8 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.3776, allocations: 43.95 kB / 0.772 GB, free: 14.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.3778, allocations: 43.95 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.3782, allocations: 88.83 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3782, allocations: 3.938 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004362/0.3786, allocations: 133.4 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3787, allocations: 6.812 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3787, allocations: 0 / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.3787, allocations: 0 / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3788, allocations: 27.97 kB / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3789, allocations: 0 / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.379, allocations: 20 kB / 0.7723 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.379, allocations: 4 kB / 0.7723 GB, free: 14.23 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 6.458e-05/0.3791, allocations: 112.2 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.3791, allocations: 0 / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.3791, allocations: 11.12 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3791, allocations: 0 / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3791, allocations: 0 / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.3792, allocations: 81.09 kB / 0.7725 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.3792, allocations: 3.984 kB / 0.7725 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.3793, allocations: 23.98 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.3794, allocations: 7.922 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005585/0.3799, allocations: 216.8 kB / 0.7727 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004898/0.3804, allocations: 294.8 kB / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002071/0.3807, allocations: 43.95 kB / 0.7731 GB, free: 13.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.385e-05/0.3807, allocations: 87.27 kB / 0.7732 GB, free: 13.32 MB / 0.545 GB Notification: Performance of Backend: time 1.502e-06/0.3807, allocations: 0 / 0.7732 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006108/0.3813, allocations: 169 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003899/0.3817, allocations: 0.5609 MB / 0.7739 GB, free: 12.54 MB / 0.545 GB Notification: Performance of Templates: time 0.003722/0.3855, allocations: 1.723 MB / 0.7755 GB, free: 10.83 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)