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.001653/0.001653, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002052/0.002052, allocations: 196.8 kB / 16.26 MB, free: 6.621 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.387/1.387, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.45 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3606, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001938/0.3626, allocations: 0.687 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.3645, allocations: 1.46 MB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.3645, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.3645, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.729e-05/0.3646, allocations: 3.984 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.365, allocations: 111.6 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.197e-05/0.3651, allocations: 23.92 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.3652, allocations: 4 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.3652, allocations: 15.91 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.3653, allocations: 19.92 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.3653, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.3658, allocations: 315.4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.3658, allocations: 15.92 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.3658, allocations: 15.86 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.3661, allocations: 187.9 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3661, allocations: 3.938 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3661, allocations: 0 / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3661, allocations: 0 / 1.07 GB, free: 7.934 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.0005103/0.3667, allocations: 375.3 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.3667, allocations: 12.03 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003794/0.3671, allocations: 60.77 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3673, allocations: 172.3 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3673, allocations: 8.375 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3673, allocations: 384 / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.3676, allocations: 73.95 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3676, allocations: 4 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3676, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3676, allocations: 4 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.368, allocations: 75.84 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.3682, allocations: 169.7 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.3687, allocations: 118.5 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.3689, allocations: 44.95 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.369, allocations: 0 / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.369, allocations: 38.48 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 3.367e-06/0.369, allocations: 0 / 1.072 GB, free: 6.641 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.004137/0.3731, allocations: 0.7973 MB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.3732, allocations: 51.41 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3733, allocations: 114.1 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.3733, allocations: 25.7 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.3734, allocations: 88.14 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.3734, allocations: 31.64 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.3735, allocations: 29.64 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3736, allocations: 318.8 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.374, allocations: 95.84 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.3745, allocations: 103.9 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007936/0.3753, allocations: 192.6 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3753, allocations: 0 / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008745/0.3762, allocations: 245.3 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3762, allocations: 8 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3762, allocations: 0 / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3762, allocations: 0 / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.3766, allocations: 55.94 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3766, allocations: 4.062 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.3768, allocations: 35.95 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.3769, allocations: 7.984 kB / 1.074 GB, free: 4.402 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.291e-05/0.377, allocations: 125.7 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.377, allocations: 0 / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.377, allocations: 12.38 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3771, allocations: 0 / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3771, allocations: 0 / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3771, allocations: 0 / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.3788, allocations: 0.6013 MB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3788, allocations: 288 / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.379, allocations: 59.95 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3791, allocations: 3.984 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3791, allocations: 7.938 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3791, allocations: 0 / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3791, allocations: 0.75 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/0.38, allocations: 348.8 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.3801, allocations: 77.11 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.3801, allocations: 4 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.3804, allocations: 35.95 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.3804, allocations: 15.92 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3804, allocations: 11.98 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.784e-05/0.3805, allocations: 87.28 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3805, allocations: 0 / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003009/0.3808, allocations: 43.98 kB / 1.075 GB, free: 2.871 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.0002269/0.381, allocations: 139.1 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000921/0.382, allocations: 211.7 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.382, allocations: 4 kB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.3824, allocations: 108 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.3827, allocations: 6.406 kB / 1.076 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.3842, allocations: 418.1 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.3845, allocations: 0.6924 MB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.3847, allocations: 16.95 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.3848, allocations: 23.36 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3848, allocations: 0 / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of Templates: time 0.004459/0.3892, allocations: 1.631 MB / 1.078 GB, free: 15.58 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)