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.001222/0.001222, allocations: 116.2 kB / 16.42 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.001147/0.001147, allocations: 183.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.221/1.221, allocations: 222.9 MB / 241.1 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.001975/0.001975, allocations: 287.9 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.8847/0.8847, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 91.86 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3579, allocations: 86.99 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001561/0.3595, allocations: 0.6135 MB / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3612, allocations: 1.462 MB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.3612, allocations: 0 / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.3613, allocations: 3.938 kB / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.3613, allocations: 7.938 kB / 0.7692 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.3617, allocations: 123.5 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.387e-05/0.3618, allocations: 27.86 kB / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.3618, allocations: 4 kB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.3619, allocations: 15.92 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.362, allocations: 19.91 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.362, allocations: 4 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/0.3624, allocations: 315.3 kB / 0.7696 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.3624, allocations: 3.984 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.3625, allocations: 23.86 kB / 0.7697 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.3627, allocations: 187.3 kB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3628, allocations: 4 kB / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3628, allocations: 0 / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.3628, allocations: 0 / 0.7698 GB, free: 1.051 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.0004548/0.3632, allocations: 373.9 kB / 0.7702 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3633, allocations: 8.031 kB / 0.7702 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.3636, allocations: 60.86 kB / 0.7703 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3638, allocations: 180.2 kB / 0.7704 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3638, allocations: 384 / 0.7704 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3638, allocations: 4.375 kB / 0.7704 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.3641, allocations: 83.69 kB / 0.7705 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3641, allocations: 0 / 0.7705 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3641, allocations: 3.984 kB / 0.7705 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3641, allocations: 4 kB / 0.7705 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.3645, allocations: 79.91 kB / 0.7706 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.3647, allocations: 165.7 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.3652, allocations: 130.4 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.3654, allocations: 36.95 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.3654, allocations: 4 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.3654, allocations: 38.5 kB / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.3654, allocations: 0 / 0.771 GB, free: 15.75 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.003998/0.3694, allocations: 0.7856 MB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.3695, allocations: 55.34 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.844e-05/0.3696, allocations: 113.8 kB / 0.7719 GB, free: 14.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3696, allocations: 25.7 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.3696, allocations: 92.12 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.3697, allocations: 31.55 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.3697, allocations: 25.7 kB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.3698, allocations: 318.8 kB / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.3703, allocations: 95.89 kB / 0.7725 GB, free: 14.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.3707, allocations: 99.89 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008332/0.3715, allocations: 196.6 kB / 0.7727 GB, free: 13.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3715, allocations: 0 / 0.7727 GB, free: 13.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009049/0.3725, allocations: 237.3 kB / 0.773 GB, free: 13.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3725, allocations: 8 kB / 0.773 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3725, allocations: 4 kB / 0.773 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3725, allocations: 0 / 0.773 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.3728, allocations: 51.88 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3728, allocations: 8 kB / 0.773 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.3731, allocations: 35.95 kB / 0.7731 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.3731, allocations: 8.359 kB / 0.7731 GB, free: 13.52 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.833e-05/0.3732, allocations: 116.2 kB / 0.7732 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.3732, allocations: 11.84 kB / 0.7732 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.3732, allocations: 8.375 kB / 0.7732 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3732, allocations: 7.938 kB / 0.7732 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3733, allocations: 0.75 kB / 0.7732 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.3733, allocations: 81.09 kB / 0.7733 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3733, allocations: 0 / 0.7733 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3736, allocations: 43.95 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.3736, allocations: 7.984 kB / 0.7733 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001133/0.3747, allocations: 356.6 kB / 0.7737 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000968/0.3757, allocations: 418.4 kB / 0.7741 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004374/0.3762, allocations: 107.9 kB / 0.7742 GB, free: 12.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.3762, allocations: 95.27 kB / 0.7743 GB, free: 12.24 MB / 0.545 GB Notification: Performance of Backend: time 3.61e-07/0.3762, allocations: 0 / 0.7743 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008856/0.3771, allocations: 235.3 kB / 0.7745 GB, free: 12 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003969/0.3775, allocations: 0.5762 MB / 0.7751 GB, free: 11.38 MB / 0.545 GB Notification: Performance of Templates: time 0.004587/0.3821, allocations: 2.276 MB / 0.7773 GB, free: 9.109 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)