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.001197/0.001197, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001189/0.001189, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.284/1.284, 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.002132/0.002132, allocations: 293.2 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.9039/0.9039, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 91.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3988, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002272/0.4011, allocations: 1.43 MB / 0.7685 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.4022, allocations: 0.7931 MB / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.4022, allocations: 8 kB / 0.7692 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.4023, allocations: 0 / 0.7692 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.436e-05/0.4023, allocations: 3.938 kB / 0.7692 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.4027, allocations: 119.5 kB / 0.7694 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.4028, allocations: 39.91 kB / 0.7694 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.784e-05/0.4028, allocations: 7.984 kB / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.4029, allocations: 15.92 kB / 0.7694 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.403, allocations: 23.86 kB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.403, allocations: 4 kB / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.4034, allocations: 319.3 kB / 0.7697 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.4034, allocations: 11.98 kB / 0.7698 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.4035, allocations: 7.938 kB / 0.7698 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.4037, allocations: 199.3 kB / 0.77 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4038, allocations: 4 kB / 0.77 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4038, allocations: 4 kB / 0.77 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.4038, allocations: 0 / 0.77 GB, free: 0.9297 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.0004738/0.4043, allocations: 371.5 kB / 0.7703 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.4043, allocations: 8.031 kB / 0.7703 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004498/0.4047, allocations: 68.84 kB / 0.7704 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.4049, allocations: 170.8 kB / 0.7706 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.4049, allocations: 4.375 kB / 0.7706 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.4049, allocations: 384 / 0.7706 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.4052, allocations: 89.88 kB / 0.7706 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.4052, allocations: 3.984 kB / 0.7706 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4052, allocations: 8 kB / 0.7707 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4053, allocations: 0 / 0.7707 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.4057, allocations: 91.89 kB / 0.7707 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.4061, allocations: 292.9 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.4065, allocations: 98.5 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.4067, allocations: 52.8 kB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.4068, allocations: 4 kB / 0.7712 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.4068, allocations: 30.56 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4068, allocations: 7.938 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0006903/0.4075, allocations: 157.6 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.4075, allocations: 63.52 kB / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.4076, allocations: 97.86 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.4076, allocations: 25.7 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.4077, allocations: 84.14 kB / 0.7716 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.4077, allocations: 15.83 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.4077, allocations: 13.72 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.4078, allocations: 310.8 kB / 0.7719 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.408, allocations: 51.89 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.4083, allocations: 47.94 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.4086, allocations: 96.77 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4087, allocations: 0 / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004312/0.4091, allocations: 121.5 kB / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.4091, allocations: 4 kB / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.4091, allocations: 0 / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.4091, allocations: 0 / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4093, allocations: 27.91 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4093, allocations: 0 / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.4094, allocations: 24 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4094, allocations: 7.938 kB / 0.7723 GB, free: 14.31 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.72e-05/0.4095, allocations: 109.8 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.4095, allocations: 0 / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.4096, allocations: 15.11 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4096, allocations: 0 / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.4096, allocations: 0 / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.4096, allocations: 4 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.4098, allocations: 165.6 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4098, allocations: 0 / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.4099, allocations: 19.97 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4099, allocations: 4 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.4099, allocations: 4 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4099, allocations: 4.234 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.41, allocations: 0 / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.4104, allocations: 223.3 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.4105, allocations: 89 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.4105, allocations: 8 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.4106, allocations: 15.92 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.4107, allocations: 3.984 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.4107, allocations: 4 kB / 0.7729 GB, free: 13.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.4107, allocations: 83.31 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4107, allocations: 0 / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002292/0.411, allocations: 16 kB / 0.773 GB, free: 13.46 MB / 0.545 GB 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.0001506/0.4111, allocations: 107.2 kB / 0.7731 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004484/0.4116, allocations: 91.91 kB / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4116, allocations: 0 / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.4118, allocations: 56 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.4121, allocations: 7.062 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.4126, allocations: 187.2 kB / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.4129, allocations: 0.6768 MB / 0.7741 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.4129, allocations: 11.44 kB / 0.7741 GB, free: 12.27 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4129, allocations: 0 / 0.7741 GB, free: 12.27 MB / 0.545 GB Notification: Performance of Templates: time 0.002065/0.415, allocations: 0.9027 MB / 0.775 GB, free: 11.37 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)