Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001284/0.001284, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001185/0.001185, allocations: 192.7 kB / 16.14 MB, free: 6.688 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.41 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3482, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002338/0.3507, allocations: 0.6993 MB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.3526, allocations: 1.476 MB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.3527, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.3527, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.245e-05/0.3528, allocations: 11.86 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.3531, allocations: 99.7 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.189e-05/0.3532, allocations: 23.92 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.3533, allocations: 0 / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.058e-05/0.3533, allocations: 15.97 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.3534, allocations: 23.8 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3534, allocations: 4 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.3538, allocations: 315.3 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.3539, allocations: 4 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.3539, allocations: 19.86 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.3542, allocations: 179.9 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3542, allocations: 4 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3542, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3542, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 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.0005522/0.3548, allocations: 384.9 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3548, allocations: 8.031 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/0.3552, allocations: 60.77 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.3554, allocations: 184.2 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3554, allocations: 384 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.3554, allocations: 384 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.3557, allocations: 81.95 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3558, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3558, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3558, allocations: 4 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.3561, allocations: 71.91 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.3564, allocations: 165.7 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.3569, allocations: 126.4 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.3571, allocations: 44.94 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.3571, allocations: 0 / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3572, allocations: 46.5 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 2.635e-06/0.3572, allocations: 0 / 1.071 GB, free: 6.691 MB / 0.8262 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.004194/0.3614, allocations: 0.7939 MB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3614, allocations: 51.41 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.3615, allocations: 109.8 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3616, allocations: 25.7 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.3616, allocations: 92.23 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.3617, allocations: 35.48 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.3617, allocations: 25.7 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.3618, allocations: 318.8 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.3623, allocations: 91.91 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.3627, allocations: 99.89 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008316/0.3635, allocations: 196.6 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.3636, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009288/0.3645, allocations: 245.3 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3645, allocations: 8 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3645, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3646, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.3649, allocations: 55.94 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3649, allocations: 0 / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.3651, allocations: 35.95 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3652, allocations: 7.984 kB / 1.074 GB, free: 4.465 MB / 0.8262 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 9.465e-05/0.3653, allocations: 117.8 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.3653, allocations: 4 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.3654, allocations: 12.38 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3654, allocations: 0 / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3654, allocations: 0 / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3654, allocations: 3.984 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.3671, allocations: 0.6015 MB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3671, allocations: 3.984 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.3674, allocations: 60 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3674, allocations: 3.938 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3674, allocations: 4 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3674, allocations: 0 / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3674, allocations: 0 / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009502/0.3684, allocations: 352.8 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.3684, allocations: 77.11 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3685, allocations: 4 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3687, allocations: 35.95 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.3688, allocations: 19.86 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3688, allocations: 7.984 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.439e-05/0.3689, allocations: 87.28 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3689, allocations: 0 / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000301/0.3692, allocations: 35.98 kB / 1.075 GB, free: 2.938 MB / 0.8262 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.0002339/0.3694, allocations: 135.2 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009019/0.3703, allocations: 207.7 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3703, allocations: 0 / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.3708, allocations: 112 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.3711, allocations: 8 kB / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3726, allocations: 404.3 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.3728, allocations: 0.6894 MB / 1.076 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.3729, allocations: 24.89 kB / 1.076 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.373, allocations: 27.36 kB / 1.076 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.373, allocations: 0 / 1.076 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of Templates: time 0.004108/0.3771, allocations: 1.578 MB / 1.078 GB, free: 15.7 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)