Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001037/0.001037, allocations: 106.5 kB / 16.27 MB, free: 5.93 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.001068/0.001068, allocations: 190.8 kB / 17.2 MB, free: 5.574 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.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7532/0.7532, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3547, allocations: 77.92 MB / 0.5673 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002372/0.3571, allocations: 1.425 MB / 0.5687 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3582, allocations: 0.7875 MB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.027e-05/0.3582, allocations: 0 / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.3582, allocations: 6.5 kB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.532e-05/0.3583, allocations: 1.031 kB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.3588, allocations: 131.5 kB / 0.5696 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.736e-05/0.3588, allocations: 32.05 kB / 0.5696 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.668e-05/0.3589, allocations: 8.781 kB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.359, allocations: 18.14 kB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.3591, allocations: 25.52 kB / 0.5697 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.3591, allocations: 3.875 kB / 0.5697 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000518/0.3596, allocations: 321 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.3596, allocations: 3.781 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.3597, allocations: 12.44 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.36, allocations: 201.1 kB / 0.5702 GB, free: 31.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.36, allocations: 0 / 0.5702 GB, free: 31.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.36, allocations: 1.75 kB / 0.5702 GB, free: 31.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.36, allocations: 1.188 kB / 0.5702 GB, free: 31.03 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004354/0.3605, allocations: 372.1 kB / 0.5705 GB, free: 30.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3605, allocations: 11.11 kB / 0.5705 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.3605, allocations: 36.31 kB / 0.5706 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.361, allocations: 67.16 kB / 0.5706 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.715e-05/0.3611, allocations: 166.6 kB / 0.5708 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3611, allocations: 4.219 kB / 0.5708 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.3611, allocations: 1.312 kB / 0.5708 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.3614, allocations: 88.53 kB / 0.5709 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.3614, allocations: 0 / 0.5709 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3614, allocations: 0 / 0.5709 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3615, allocations: 2.5 kB / 0.5709 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.3619, allocations: 91.81 kB / 0.571 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.3623, allocations: 297.4 kB / 0.5713 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.3627, allocations: 94.08 kB / 0.5714 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.363, allocations: 54.17 kB / 0.5714 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.363, allocations: 2.266 kB / 0.5714 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.363, allocations: 31.5 kB / 0.5714 GB, free: 29.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.363, allocations: 1.344 kB / 0.5714 GB, free: 29.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007365/0.3637, allocations: 171 kB / 0.5716 GB, free: 29.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.3638, allocations: 51.94 kB / 0.5716 GB, free: 29.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.3638, allocations: 100.5 kB / 0.5717 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3639, allocations: 33.64 kB / 0.5718 GB, free: 29.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.3639, allocations: 86.92 kB / 0.5719 GB, free: 29.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.3639, allocations: 4.688 kB / 0.5719 GB, free: 29.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.364, allocations: 16.75 kB / 0.5719 GB, free: 29.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.364, allocations: 315.9 kB / 0.5722 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.3642, allocations: 45.34 kB / 0.5722 GB, free: 29.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.3644, allocations: 48.03 kB / 0.5723 GB, free: 29.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.3648, allocations: 90.36 kB / 0.5724 GB, free: 29.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3649, allocations: 0 / 0.5724 GB, free: 29.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004607/0.3653, allocations: 127.6 kB / 0.5725 GB, free: 29.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3653, allocations: 6.312 kB / 0.5725 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3654, allocations: 1.969 kB / 0.5725 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3654, allocations: 3.938 kB / 0.5725 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.3655, allocations: 22.53 kB / 0.5725 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3656, allocations: 0.6562 kB / 0.5725 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.3657, allocations: 18.72 kB / 0.5725 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3657, allocations: 1.344 kB / 0.5725 GB, free: 29.23 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 (2): * Single equations (assignments): 2 * 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.309e-05/0.3657, allocations: 117.5 kB / 0.5726 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.3658, allocations: 3 kB / 0.5726 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.3658, allocations: 5.484 kB / 0.5727 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3658, allocations: 0 / 0.5727 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3658, allocations: 1 kB / 0.5727 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3658, allocations: 0.6562 kB / 0.5727 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.366, allocations: 180.9 kB / 0.5728 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.366, allocations: 4.578 kB / 0.5728 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.3662, allocations: 22.23 kB / 0.5729 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3662, allocations: 2.219 kB / 0.5729 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3662, allocations: 1.078 kB / 0.5729 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3662, allocations: 2.219 kB / 0.5729 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3662, allocations: 3.938 kB / 0.5729 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/0.3667, allocations: 219.5 kB / 0.5731 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.3667, allocations: 85.19 kB / 0.5732 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.3667, allocations: 1.25 kB / 0.5732 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3669, allocations: 17.16 kB / 0.5732 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.3669, allocations: 5.25 kB / 0.5732 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3669, allocations: 6.266 kB / 0.5732 GB, free: 28.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.525e-05/0.367, allocations: 83.69 kB / 0.5733 GB, free: 28.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.367, allocations: 0 / 0.5733 GB, free: 28.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.3672, allocations: 15.55 kB / 0.5733 GB, free: 28.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006605/0.3679, allocations: 0.7601 MB / 0.574 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.3684, allocations: 101 kB / 0.5741 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3684, allocations: 5.188 kB / 0.5741 GB, free: 27.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.3686, allocations: 48.03 kB / 0.5742 GB, free: 27.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.3689, allocations: 9.516 kB / 0.5742 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.3695, allocations: 194.8 kB / 0.5744 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.651e-05/0.3696, allocations: 0.6769 MB / 0.575 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.311e-05/0.3697, allocations: 9.703 kB / 0.575 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.3697, allocations: 11.14 kB / 0.575 GB, free: 27.01 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3698, allocations: 3.938 kB / 0.575 GB, free: 27.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.3878, allocations: 1.654 MB / 0.5767 GB, free: 26.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/7.466, allocations: 13.39 kB / 0.5767 GB, free: 26.63 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.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_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)