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.006737/0.006737, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001498/0.001498, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.268/1.268, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6369/0.6369, allocations: 115.3 MB / 406 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.89 kB / 493 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1269, allocations: 76.19 MB / 0.5558 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002759/0.1297, allocations: 1.489 MB / 0.5573 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1309, allocations: 0.8033 MB / 0.5581 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.131, allocations: 0 / 0.5581 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.1311, allocations: 0 / 0.5581 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.1311, allocations: 11.94 kB / 0.5581 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.1316, allocations: 95.69 kB / 0.5582 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.1317, allocations: 31.92 kB / 0.5582 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.1318, allocations: 4 kB / 0.5582 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.842e-05/0.1318, allocations: 15.92 kB / 0.5582 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.1319, allocations: 27.91 kB / 0.5583 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1319, allocations: 0 / 0.5583 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/0.1324, allocations: 315.3 kB / 0.5586 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.1325, allocations: 11.98 kB / 0.5586 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.1325, allocations: 11.92 kB / 0.5586 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.1328, allocations: 187.9 kB / 0.5588 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1328, allocations: 0 / 0.5588 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1329, allocations: 0 / 0.5588 GB, free: 7.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1329, allocations: 4 kB / 0.5588 GB, free: 7.68 MB / 430.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.0005339/0.1334, allocations: 375.4 kB / 0.5591 GB, free: 7.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1335, allocations: 8.031 kB / 0.5591 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.1335, allocations: 38.73 kB / 0.5592 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004658/0.134, allocations: 68.84 kB / 0.5592 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1341, allocations: 168.3 kB / 0.5594 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.1341, allocations: 8.359 kB / 0.5594 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1341, allocations: 384 / 0.5594 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.1344, allocations: 89.75 kB / 0.5595 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1345, allocations: 0 / 0.5595 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1345, allocations: 3.938 kB / 0.5595 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1345, allocations: 0 / 0.5595 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.1349, allocations: 91.84 kB / 0.5596 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.1354, allocations: 304.8 kB / 0.5599 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.1357, allocations: 94.5 kB / 0.56 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.136, allocations: 48.88 kB / 0.56 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.136, allocations: 0 / 0.56 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.136, allocations: 34.56 kB / 0.56 GB, free: 6.203 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.136, allocations: 7.938 kB / 0.5601 GB, free: 6.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006936/0.1367, allocations: 157.5 kB / 0.5602 GB, free: 6.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.1368, allocations: 59.41 kB / 0.5603 GB, free: 5.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.1368, allocations: 102 kB / 0.5604 GB, free: 5.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1369, allocations: 25.7 kB / 0.5604 GB, free: 5.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.1369, allocations: 92.12 kB / 0.5605 GB, free: 5.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.1369, allocations: 3.906 kB / 0.5605 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.137, allocations: 13.72 kB / 0.5605 GB, free: 5.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1371, allocations: 322.8 kB / 0.5608 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.1373, allocations: 43.95 kB / 0.5608 GB, free: 5.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.1375, allocations: 43.95 kB / 0.5609 GB, free: 5.297 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.1379, allocations: 92.77 kB / 0.561 GB, free: 5.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1379, allocations: 4 kB / 0.561 GB, free: 5.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004202/0.1383, allocations: 129.5 kB / 0.5611 GB, free: 5.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1383, allocations: 4 kB / 0.5611 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1383, allocations: 3.938 kB / 0.5611 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1383, allocations: 0 / 0.5611 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1385, allocations: 23.97 kB / 0.5611 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1385, allocations: 0 / 0.5611 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1386, allocations: 16.02 kB / 0.5611 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1387, allocations: 7.984 kB / 0.5611 GB, free: 5.012 MB / 430.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 7.29e-05/0.1387, allocations: 109.8 kB / 0.5612 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1388, allocations: 4 kB / 0.5613 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.1388, allocations: 7.125 kB / 0.5613 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1388, allocations: 0 / 0.5613 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1388, allocations: 3.938 kB / 0.5613 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1388, allocations: 0 / 0.5613 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.139, allocations: 181.5 kB / 0.5614 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.139, allocations: 0 / 0.5614 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.1391, allocations: 19.97 kB / 0.5615 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1391, allocations: 4.25 kB / 0.5615 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1392, allocations: 0 / 0.5615 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1392, allocations: 4 kB / 0.5615 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1392, allocations: 0 / 0.5615 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.1396, allocations: 223.4 kB / 0.5617 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.1397, allocations: 81.02 kB / 0.5618 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1397, allocations: 4 kB / 0.5618 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1398, allocations: 15.97 kB / 0.5618 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1399, allocations: 3.984 kB / 0.5618 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1399, allocations: 4 kB / 0.5618 GB, free: 4.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.149e-05/0.1399, allocations: 87.27 kB / 0.5619 GB, free: 4.184 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.14, allocations: 4.031 kB / 0.5619 GB, free: 4.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1402, allocations: 16 kB / 0.5619 GB, free: 4.164 MB / 430.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.0007284/0.1409, allocations: 0.7514 MB / 0.5626 GB, free: 3.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004237/0.1414, allocations: 95.92 kB / 0.5627 GB, free: 3.289 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1414, allocations: 4 kB / 0.5627 GB, free: 3.285 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.1416, allocations: 51.95 kB / 0.5628 GB, free: 3.234 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.1419, allocations: 6.188 kB / 0.5628 GB, free: 3.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.1425, allocations: 204.9 kB / 0.563 GB, free: 2.992 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.1427, allocations: 0.677 MB / 0.5636 GB, free: 2.289 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.755e-05/0.1428, allocations: 12 kB / 0.5636 GB, free: 2.277 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.1429, allocations: 7.438 kB / 0.5636 GB, free: 2.27 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1429, allocations: 3.938 kB / 0.5636 GB, free: 2.266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1456/0.2885, allocations: 1.462 MB / 0.5651 GB, free: 0.918 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/0.2887, allocations: 198.4 kB / 0.5653 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.175, allocations: 0 / 0.5653 GB, free: 0.6641 MB / 430.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)