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.001234/0.001234, allocations: 106.1 kB / 16.27 MB, free: 6.402 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.001136/0.001136, allocations: 189.9 kB / 17.2 MB, free: 5.938 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.289/1.289, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7443/0.7443, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3383, allocations: 77.91 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002256/0.3407, allocations: 0.6258 MB / 0.5679 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.3428, allocations: 1.444 MB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.3428, allocations: 0.5625 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.3429, allocations: 0 / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.369e-05/0.343, allocations: 7.906 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.3435, allocations: 132.8 kB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.924e-05/0.3435, allocations: 25.72 kB / 0.5695 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.3436, allocations: 3.766 kB / 0.5695 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.3436, allocations: 16.27 kB / 0.5695 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.257e-05/0.3437, allocations: 24.11 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.3437, allocations: 1.594 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005359/0.3443, allocations: 315.1 kB / 0.5698 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.3443, allocations: 8.328 kB / 0.5698 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.3443, allocations: 17.69 kB / 0.5698 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.3447, allocations: 184.7 kB / 0.57 GB, free: 31.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3447, allocations: 1.344 kB / 0.57 GB, free: 31.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3447, allocations: 1.406 kB / 0.57 GB, free: 31.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3447, allocations: 0 / 0.57 GB, free: 31.1 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.0004955/0.3452, allocations: 378.8 kB / 0.5704 GB, free: 30.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3453, allocations: 10.75 kB / 0.5704 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.778e-05/0.3453, allocations: 36.23 kB / 0.5704 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000396/0.3457, allocations: 59.48 kB / 0.5705 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.3458, allocations: 185.1 kB / 0.5707 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3458, allocations: 1.5 kB / 0.5707 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.3459, allocations: 3 kB / 0.5707 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.3461, allocations: 74.59 kB / 0.5707 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3462, allocations: 0.75 kB / 0.5707 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.3462, allocations: 0 / 0.5707 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3462, allocations: 1.219 kB / 0.5707 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.3466, allocations: 76.52 kB / 0.5708 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.3467, allocations: 169.5 kB / 0.571 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/0.3473, allocations: 125.7 kB / 0.5711 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.3475, allocations: 41 kB / 0.5711 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.3475, allocations: 1.312 kB / 0.5711 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.3475, allocations: 35.11 kB / 0.5712 GB, free: 30.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.3475, allocations: 5.281 kB / 0.5712 GB, free: 30.12 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.004116/0.3516, allocations: 0.7855 MB / 0.5719 GB, free: 30.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.3517, allocations: 53.97 kB / 0.572 GB, free: 29.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.3518, allocations: 113.9 kB / 0.5721 GB, free: 29.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3518, allocations: 28.83 kB / 0.5721 GB, free: 29.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.3518, allocations: 86.91 kB / 0.5722 GB, free: 29.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.3519, allocations: 33.17 kB / 0.5722 GB, free: 29.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.3519, allocations: 26.2 kB / 0.5723 GB, free: 29.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.352, allocations: 319 kB / 0.5726 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.3525, allocations: 95.81 kB / 0.5727 GB, free: 29.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.3529, allocations: 101.8 kB / 0.5728 GB, free: 29.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.3537, allocations: 192.9 kB / 0.5729 GB, free: 29.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3538, allocations: 3.938 kB / 0.5729 GB, free: 29.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009219/0.3547, allocations: 242.4 kB / 0.5732 GB, free: 29.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3547, allocations: 8.312 kB / 0.5732 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3547, allocations: 1.406 kB / 0.5732 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3547, allocations: 1.094 kB / 0.5732 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.3551, allocations: 57.17 kB / 0.5732 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3551, allocations: 1.812 kB / 0.5732 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.3553, allocations: 41.12 kB / 0.5733 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3553, allocations: 3.812 kB / 0.5733 GB, free: 29.26 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 6.027e-05/0.3554, allocations: 120.8 kB / 0.5734 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.3554, allocations: 7.344 kB / 0.5734 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.996e-05/0.3555, allocations: 10.92 kB / 0.5734 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3555, allocations: 5.156 kB / 0.5734 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3555, allocations: 1.094 kB / 0.5734 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3555, allocations: 0.7031 kB / 0.5734 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.3571, allocations: 0.592 MB / 0.574 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3571, allocations: 1 kB / 0.574 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.3574, allocations: 50.56 kB / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3574, allocations: 5 kB / 0.5741 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3574, allocations: 12.97 kB / 0.5741 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3574, allocations: 5.031 kB / 0.5741 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3574, allocations: 9.703 kB / 0.5741 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009132/0.3583, allocations: 338.4 kB / 0.5744 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.3584, allocations: 84.95 kB / 0.5745 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3584, allocations: 6.266 kB / 0.5745 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.3587, allocations: 34.45 kB / 0.5745 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.3587, allocations: 19.31 kB / 0.5745 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3587, allocations: 9.016 kB / 0.5746 GB, free: 28.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.571e-05/0.3588, allocations: 93.36 kB / 0.5746 GB, free: 28.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3588, allocations: 0.5625 kB / 0.5746 GB, free: 28.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.3591, allocations: 41.34 kB / 0.5747 GB, free: 28.34 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.001157/0.3603, allocations: 0.8929 MB / 0.5756 GB, free: 27.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009269/0.3612, allocations: 216.4 kB / 0.5758 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3612, allocations: 0 / 0.5758 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.3617, allocations: 111.8 kB / 0.5759 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.3619, allocations: 15.45 kB / 0.5759 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.3662, allocations: 2.126 MB / 0.578 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.534e-05/0.3663, allocations: 0.6898 MB / 0.5786 GB, free: 25.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.3664, allocations: 19.62 kB / 0.5787 GB, free: 25.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.779e-05/0.3665, allocations: 23.95 kB / 0.5787 GB, free: 25.45 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3665, allocations: 4 kB / 0.5787 GB, free: 25.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.3834, allocations: 2.694 MB / 0.5813 GB, free: 24.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.539, allocations: 10.59 kB / 0.5813 GB, free: 24.18 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)