Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001113, allocations: 104 kB / 15.98 MB, free: 6.352 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.001119/0.00112, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.443/1.443, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7589/0.7589, allocations: 115.3 MB / 406.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.00146, allocations: 63.91 kB / 493.2 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4079, allocations: 76.18 MB / 0.556 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001491/0.4094, allocations: 0.6829 MB / 0.5567 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.4106, allocations: 1.444 MB / 0.5581 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.4107, allocations: 1.375 kB / 0.5581 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.4107, allocations: 0 / 0.5581 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.4108, allocations: 7.094 kB / 0.5581 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.4111, allocations: 103.9 kB / 0.5582 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.215e-05/0.4111, allocations: 31.06 kB / 0.5582 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.4112, allocations: 3.469 kB / 0.5582 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.847e-05/0.4112, allocations: 15.66 kB / 0.5583 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.4113, allocations: 23.75 kB / 0.5583 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.4113, allocations: 2.656 kB / 0.5583 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.4116, allocations: 320.6 kB / 0.5586 GB, free: 33.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.4117, allocations: 3.719 kB / 0.5586 GB, free: 33.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.4117, allocations: 19.2 kB / 0.5586 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.4119, allocations: 183.7 kB / 0.5588 GB, free: 33.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.4119, allocations: 1.625 kB / 0.5588 GB, free: 33.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4119, allocations: 0 / 0.5588 GB, free: 33.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.4119, allocations: 1.625 kB / 0.5588 GB, free: 33.88 MB / 446.1 MB 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.0003407/0.4123, allocations: 374.9 kB / 0.5592 GB, free: 33.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.4123, allocations: 9.844 kB / 0.5592 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.181e-05/0.4123, allocations: 37.06 kB / 0.5592 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003296/0.4127, allocations: 61.36 kB / 0.5593 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.908e-05/0.4128, allocations: 173.8 kB / 0.5594 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4128, allocations: 1.781 kB / 0.5594 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.4128, allocations: 7 kB / 0.5594 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.413, allocations: 75.27 kB / 0.5595 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4131, allocations: 6.312 kB / 0.5595 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.4131, allocations: 0 / 0.5595 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4131, allocations: 1.312 kB / 0.5595 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.4134, allocations: 73.53 kB / 0.5596 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.4135, allocations: 173.6 kB / 0.5597 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.414, allocations: 125.6 kB / 0.5599 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.4142, allocations: 42.78 kB / 0.5599 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.4142, allocations: 6.406 kB / 0.5599 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.4142, allocations: 36.94 kB / 0.5599 GB, free: 32.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.4142, allocations: 0 / 0.5599 GB, free: 32.9 MB / 446.1 MB 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.003638/0.4179, allocations: 0.787 MB / 0.5607 GB, free: 32.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.4179, allocations: 53.69 kB / 0.5608 GB, free: 32.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.697e-05/0.4179, allocations: 114.4 kB / 0.5609 GB, free: 32.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.418, allocations: 25.7 kB / 0.5609 GB, free: 32.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.736e-05/0.418, allocations: 87.22 kB / 0.561 GB, free: 32.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.418, allocations: 30.25 kB / 0.561 GB, free: 32.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.4181, allocations: 28.41 kB / 0.561 GB, free: 32.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.4181, allocations: 318.4 kB / 0.5613 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.4185, allocations: 95 kB / 0.5614 GB, free: 32.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.4189, allocations: 97.45 kB / 0.5615 GB, free: 32.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007141/0.4196, allocations: 196.4 kB / 0.5617 GB, free: 32.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.4196, allocations: 3.938 kB / 0.5617 GB, free: 32.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007896/0.4204, allocations: 243.8 kB / 0.562 GB, free: 32.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.4204, allocations: 5.562 kB / 0.562 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.4204, allocations: 0 / 0.562 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.4205, allocations: 1.844 kB / 0.562 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.4207, allocations: 53.39 kB / 0.562 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.4207, allocations: 0.7969 kB / 0.562 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.421, allocations: 41.11 kB / 0.562 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.421, allocations: 4.219 kB / 0.5621 GB, free: 32.04 MB / 446.1 MB 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 5.195e-05/0.421, allocations: 121.1 kB / 0.5622 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.4211, allocations: 2.531 kB / 0.5622 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.4211, allocations: 11.8 kB / 0.5622 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4211, allocations: 9.844 kB / 0.5622 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4211, allocations: 0 / 0.5622 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4211, allocations: 2.109 kB / 0.5622 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.4225, allocations: 0.595 MB / 0.5628 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4225, allocations: 1.641 kB / 0.5628 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.4228, allocations: 53.77 kB / 0.5628 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4228, allocations: 1.062 kB / 0.5628 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4228, allocations: 12.88 kB / 0.5628 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.4228, allocations: 6.109 kB / 0.5628 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4228, allocations: 12.78 kB / 0.5629 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000801/0.4236, allocations: 342.3 kB / 0.5632 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.4236, allocations: 80.33 kB / 0.5633 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.4237, allocations: 2.812 kB / 0.5633 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.4239, allocations: 33.19 kB / 0.5633 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.4239, allocations: 20.34 kB / 0.5633 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4239, allocations: 4.781 kB / 0.5633 GB, free: 31.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.108e-05/0.424, allocations: 91.16 kB / 0.5634 GB, free: 31.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.424, allocations: 0 / 0.5634 GB, free: 31.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.4242, allocations: 37.42 kB / 0.5634 GB, free: 31.13 MB / 446.1 MB 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.0009898/0.4252, allocations: 0.8996 MB / 0.5643 GB, free: 30.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007829/0.426, allocations: 211.7 kB / 0.5645 GB, free: 30.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.426, allocations: 1.656 kB / 0.5645 GB, free: 30.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.4264, allocations: 108 kB / 0.5646 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.4266, allocations: 16.14 kB / 0.5646 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.4304, allocations: 2.139 MB / 0.5667 GB, free: 28.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.361e-05/0.4305, allocations: 0.6869 MB / 0.5674 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.4306, allocations: 17.61 kB / 0.5674 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/0.4307, allocations: 32.31 kB / 0.5674 GB, free: 28.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4307, allocations: 4 kB / 0.5675 GB, free: 28.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.011/1.441, allocations: 2.605 MB / 0.57 GB, free: 27.93 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.442, allocations: 218.2 kB / 0.5702 GB, free: 27.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/3.13, allocations: 2.875 kB / 0.5702 GB, free: 27.68 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)