Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001233/0.001233, allocations: 112.2 kB / 16.42 MB, free: 6.488 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.001266/0.001266, allocations: 186.7 kB / 17.35 MB, free: 5.727 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 286.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8768/0.8768, allocations: 169.3 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 95.84 kB / 0.6822 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3675, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00147/0.369, allocations: 0.6253 MB / 0.7677 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.3706, allocations: 1.454 MB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.3706, allocations: 0 / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.3706, allocations: 3.938 kB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.167e-05/0.3707, allocations: 4 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.3711, allocations: 119.5 kB / 0.7693 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.72e-05/0.3711, allocations: 31.84 kB / 0.7693 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.3712, allocations: 7.938 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.093e-05/0.3712, allocations: 15.92 kB / 0.7693 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.3713, allocations: 23.91 kB / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3713, allocations: 0 / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.3717, allocations: 315.4 kB / 0.7696 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.3717, allocations: 11.91 kB / 0.7696 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.3718, allocations: 23.86 kB / 0.7697 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.372, allocations: 187.3 kB / 0.7698 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.372, allocations: 0 / 0.7698 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.372, allocations: 0 / 0.7698 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.372, allocations: 0 / 0.7698 GB, free: 1.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004396/0.3725, allocations: 373.9 kB / 0.7702 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.3725, allocations: 12.03 kB / 0.7702 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.3729, allocations: 56.86 kB / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.373, allocations: 180.2 kB / 0.7704 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.373, allocations: 4.375 kB / 0.7704 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.373, allocations: 384 / 0.7704 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.3733, allocations: 75.75 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3733, allocations: 3.938 kB / 0.7705 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3733, allocations: 7.984 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.3733, allocations: 4 kB / 0.7705 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.3737, allocations: 63.92 kB / 0.7706 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.3739, allocations: 169.7 kB / 0.7708 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.3744, allocations: 130.5 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.3746, allocations: 40.95 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.3746, allocations: 3.938 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.3746, allocations: 38.44 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3746, allocations: 4 kB / 0.771 GB, free: 15.79 MB / 0.545 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.003977/0.3786, allocations: 0.7823 MB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.3787, allocations: 55.41 kB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.3788, allocations: 113.8 kB / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3788, allocations: 29.7 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.3788, allocations: 84.14 kB / 0.772 GB, free: 14.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.3789, allocations: 31.55 kB / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.3789, allocations: 29.73 kB / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.637e-05/0.379, allocations: 318.8 kB / 0.7724 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.3794, allocations: 103.9 kB / 0.7725 GB, free: 14.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.3799, allocations: 95.89 kB / 0.7726 GB, free: 14.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008103/0.3807, allocations: 184.7 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3807, allocations: 0 / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009027/0.3816, allocations: 253.5 kB / 0.773 GB, free: 13.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3816, allocations: 4 kB / 0.773 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3816, allocations: 4 kB / 0.773 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.3817, allocations: 0 / 0.773 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.382, allocations: 55.94 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.382, allocations: 320 / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.3822, allocations: 43.89 kB / 0.7731 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.3822, allocations: 4 kB / 0.7731 GB, free: 13.56 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 (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 7.415e-05/0.3823, allocations: 112.2 kB / 0.7732 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.3824, allocations: 15.83 kB / 0.7732 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.3824, allocations: 12.38 kB / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.3824, allocations: 0 / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3824, allocations: 0 / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.3825, allocations: 81.11 kB / 0.7733 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.3825, allocations: 0 / 0.7733 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.3827, allocations: 35.95 kB / 0.7733 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3828, allocations: 12.27 kB / 0.7733 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001121/0.3839, allocations: 364.5 kB / 0.7737 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009455/0.3848, allocations: 414.5 kB / 0.7741 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000426/0.3853, allocations: 107.9 kB / 0.7742 GB, free: 12.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.3853, allocations: 95.25 kB / 0.7743 GB, free: 12.29 MB / 0.545 GB Notification: Performance of Backend: time 2.31e-07/0.3853, allocations: 3.938 kB / 0.7743 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008644/0.3862, allocations: 245.5 kB / 0.7745 GB, free: 12.04 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003448/0.3866, allocations: 0.5684 MB / 0.7751 GB, free: 11.43 MB / 0.545 GB Notification: Performance of Templates: time 0.004285/0.3909, allocations: 2.271 MB / 0.7773 GB, free: 9.16 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)