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.00105/0.00105, allocations: 105.5 kB / 16.27 MB, free: 6.02 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.001138/0.001138, allocations: 189.2 kB / 17.19 MB, free: 5.66 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.319/1.319, 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.7949/0.7949, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3316, allocations: 77.93 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002259/0.3339, allocations: 1.416 MB / 0.5687 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009581/0.3349, allocations: 0.7882 MB / 0.5694 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.335, allocations: 3.938 kB / 0.5694 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.335, allocations: 5.156 kB / 0.5694 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.561e-05/0.335, allocations: 5.297 kB / 0.5694 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.3354, allocations: 128.4 kB / 0.5696 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.018e-05/0.3355, allocations: 34.16 kB / 0.5696 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.108e-05/0.3356, allocations: 5.719 kB / 0.5696 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.3357, allocations: 18.97 kB / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.3357, allocations: 21.58 kB / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.3358, allocations: 3.281 kB / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004421/0.3362, allocations: 319.7 kB / 0.57 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.3362, allocations: 8.625 kB / 0.57 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.3363, allocations: 16.66 kB / 0.57 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.3366, allocations: 195.9 kB / 0.5702 GB, free: 30.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3366, allocations: 2.641 kB / 0.5702 GB, free: 30.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3366, allocations: 0 / 0.5702 GB, free: 30.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3366, allocations: 0 / 0.5702 GB, free: 30.84 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.0004116/0.337, allocations: 373.6 kB / 0.5705 GB, free: 30.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.337, allocations: 11 kB / 0.5705 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.615e-05/0.3371, allocations: 31.97 kB / 0.5706 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004572/0.3375, allocations: 66.98 kB / 0.5706 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.885e-05/0.3376, allocations: 171.8 kB / 0.5708 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.3377, allocations: 1.5 kB / 0.5708 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.3377, allocations: 6.656 kB / 0.5708 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.338, allocations: 84.42 kB / 0.5709 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.338, allocations: 0 / 0.5709 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.338, allocations: 1.344 kB / 0.5709 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.338, allocations: 1.156 kB / 0.5709 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.3384, allocations: 99.75 kB / 0.571 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.3389, allocations: 291 kB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.3392, allocations: 93.03 kB / 0.5713 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.3395, allocations: 56.08 kB / 0.5714 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.3395, allocations: 0 / 0.5714 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.3395, allocations: 32.38 kB / 0.5714 GB, free: 29.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3395, allocations: 0.5 kB / 0.5714 GB, free: 29.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000727/0.3403, allocations: 170.5 kB / 0.5716 GB, free: 29.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.3403, allocations: 53.33 kB / 0.5716 GB, free: 29.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.692e-05/0.3404, allocations: 102.7 kB / 0.5717 GB, free: 29.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.3404, allocations: 25.7 kB / 0.5718 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.3404, allocations: 91.2 kB / 0.5718 GB, free: 29.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.3404, allocations: 1.891 kB / 0.5719 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.3405, allocations: 18.17 kB / 0.5719 GB, free: 29.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.3405, allocations: 317.9 kB / 0.5722 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3407, allocations: 48.5 kB / 0.5722 GB, free: 29.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.3409, allocations: 50.94 kB / 0.5723 GB, free: 29.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.3413, allocations: 93.8 kB / 0.5724 GB, free: 29.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3413, allocations: 0 / 0.5724 GB, free: 29.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004414/0.3418, allocations: 122.8 kB / 0.5725 GB, free: 29.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3418, allocations: 5.719 kB / 0.5725 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3418, allocations: 0.6562 kB / 0.5725 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3418, allocations: 1.75 kB / 0.5725 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.342, allocations: 23.58 kB / 0.5725 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.342, allocations: 0.6094 kB / 0.5725 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3421, allocations: 16.7 kB / 0.5725 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3421, allocations: 7.547 kB / 0.5725 GB, free: 29.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 (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 4.827e-05/0.3422, allocations: 115.9 kB / 0.5726 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.3422, allocations: 1.375 kB / 0.5726 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.3423, allocations: 6.797 kB / 0.5726 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3423, allocations: 0 / 0.5726 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.3423, allocations: 1.906 kB / 0.5726 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3423, allocations: 0.6562 kB / 0.5726 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.3424, allocations: 181.5 kB / 0.5728 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3424, allocations: 0 / 0.5728 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.3426, allocations: 27.2 kB / 0.5728 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3426, allocations: 0.7969 kB / 0.5728 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.3426, allocations: 5.469 kB / 0.5729 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3426, allocations: 5.922 kB / 0.5729 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3426, allocations: 0 / 0.5729 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.3431, allocations: 220.3 kB / 0.5731 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.3431, allocations: 82.97 kB / 0.5731 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.3431, allocations: 1.094 kB / 0.5731 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3433, allocations: 19.05 kB / 0.5732 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.3433, allocations: 8.062 kB / 0.5732 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3433, allocations: 0.7031 kB / 0.5732 GB, free: 28.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.402e-05/0.3434, allocations: 86.08 kB / 0.5733 GB, free: 28.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3434, allocations: 2.719 kB / 0.5733 GB, free: 28.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.3436, allocations: 15.62 kB / 0.5733 GB, free: 28.37 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.0007424/0.3444, allocations: 0.7586 MB / 0.574 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004683/0.3449, allocations: 95.66 kB / 0.5741 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3449, allocations: 4.562 kB / 0.5741 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.3451, allocations: 57.03 kB / 0.5742 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.3454, allocations: 12.8 kB / 0.5742 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/0.3461, allocations: 190 kB / 0.5744 GB, free: 27.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.444e-05/0.3462, allocations: 0.6774 MB / 0.575 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.372e-05/0.3462, allocations: 9.312 kB / 0.575 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.3463, allocations: 14.34 kB / 0.575 GB, free: 26.81 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3463, allocations: 3.812 kB / 0.575 GB, free: 26.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.3651, allocations: 1.654 MB / 0.5767 GB, free: 26.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.078/9.443, allocations: 7.109 kB / 0.5767 GB, free: 26.44 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)