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.000737/0.0007369, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007469/0.0007469, allocations: 172.1 kB / 16.58 MB, free: 6.797 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.171/1.171, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6162/0.6162, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002562/0.0002563, allocations: 8.5 kB / 493.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.115, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.001454/0.1165, allocations: 1.145 MB / 0.558 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1175, allocations: 0.726 MB / 0.5587 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.1175, allocations: 0 / 0.5587 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.1176, allocations: 0 / 0.5587 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.09e-05/0.1176, allocations: 7.938 kB / 0.5587 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1179, allocations: 87.75 kB / 0.5588 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.118, allocations: 31.91 kB / 0.5589 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.359e-05/0.1181, allocations: 4 kB / 0.5589 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.979e-05/0.1181, allocations: 15.92 kB / 0.5589 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.1182, allocations: 15.98 kB / 0.5589 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1182, allocations: 0 / 0.5589 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.1186, allocations: 315.3 kB / 0.5592 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.1186, allocations: 3.984 kB / 0.5592 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.1186, allocations: 29.7 kB / 0.5592 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1188, allocations: 136.1 kB / 0.5593 GB, free: 9.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1188, allocations: 0 / 0.5593 GB, free: 9.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1188, allocations: 0 / 0.5593 GB, free: 9.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.1188, allocations: 3.938 kB / 0.5594 GB, free: 9.109 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.0004048/0.1192, allocations: 383.2 kB / 0.5597 GB, free: 8.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.1193, allocations: 8.031 kB / 0.5597 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.1193, allocations: 30.56 kB / 0.5598 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.1197, allocations: 75.92 kB / 0.5598 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.341e-05/0.1198, allocations: 167.1 kB / 0.56 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1198, allocations: 7.938 kB / 0.56 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1198, allocations: 3.938 kB / 0.56 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.1201, allocations: 97.58 kB / 0.5601 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1201, allocations: 0 / 0.5601 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1201, allocations: 8 kB / 0.5601 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.1201, allocations: 0 / 0.5601 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.1205, allocations: 107.9 kB / 0.5602 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.1209, allocations: 308.8 kB / 0.5605 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.1212, allocations: 122.4 kB / 0.5606 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1214, allocations: 60.88 kB / 0.5607 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1215, allocations: 0 / 0.5607 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1215, allocations: 30.56 kB / 0.5607 GB, free: 7.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.1215, allocations: 0 / 0.5607 GB, free: 7.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006262/0.1221, allocations: 209.5 kB / 0.5609 GB, free: 7.344 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.1222, allocations: 51.41 kB / 0.5609 GB, free: 7.281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/0.1222, allocations: 109.8 kB / 0.5611 GB, free: 7.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1223, allocations: 25.7 kB / 0.5611 GB, free: 7.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.1223, allocations: 80.14 kB / 0.5612 GB, free: 7.051 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.1223, allocations: 11.91 kB / 0.5612 GB, free: 7.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.1223, allocations: 0 / 0.5612 GB, free: 7.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.1224, allocations: 318.9 kB / 0.5615 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.1226, allocations: 51.95 kB / 0.5615 GB, free: 6.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.1228, allocations: 59.95 kB / 0.5616 GB, free: 6.609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.123, allocations: 56.02 kB / 0.5616 GB, free: 6.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.123, allocations: 0 / 0.5616 GB, free: 6.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000378/0.1234, allocations: 149.5 kB / 0.5618 GB, free: 6.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1234, allocations: 6.344 kB / 0.5618 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1234, allocations: 4 kB / 0.5618 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.1234, allocations: 0 / 0.5618 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.1235, allocations: 28 kB / 0.5618 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1236, allocations: 4 kB / 0.5618 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.713e-05/0.1237, allocations: 23.98 kB / 0.5618 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1237, allocations: 3.938 kB / 0.5618 GB, free: 6.336 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.322e-05/0.1238, allocations: 121.3 kB / 0.562 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.1238, allocations: 11.94 kB / 0.562 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.1238, allocations: 3.125 kB / 0.562 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1238, allocations: 4.188 kB / 0.562 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1238, allocations: 0 / 0.562 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1238, allocations: 4 kB / 0.562 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.124, allocations: 177.5 kB / 0.5621 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.124, allocations: 4 kB / 0.5622 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.1241, allocations: 31.92 kB / 0.5622 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1241, allocations: 0 / 0.5622 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1242, allocations: 0 / 0.5622 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1242, allocations: 4 kB / 0.5622 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1242, allocations: 0 / 0.5622 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.1246, allocations: 239.5 kB / 0.5624 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.1246, allocations: 77.11 kB / 0.5625 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.1246, allocations: 7.984 kB / 0.5625 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.1248, allocations: 27.91 kB / 0.5625 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.1248, allocations: 4 kB / 0.5625 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.1248, allocations: 0 / 0.5625 GB, free: 5.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.297e-05/0.1249, allocations: 87.27 kB / 0.5626 GB, free: 5.453 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1249, allocations: 0 / 0.5626 GB, free: 5.453 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.1251, allocations: 16 kB / 0.5626 GB, free: 5.438 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006593/0.1258, allocations: 0.7756 MB / 0.5634 GB, free: 4.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003975/0.1262, allocations: 127.9 kB / 0.5635 GB, free: 4.508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1262, allocations: 4 kB / 0.5635 GB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.1264, allocations: 56.02 kB / 0.5636 GB, free: 4.449 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.1266, allocations: 11.95 kB / 0.5636 GB, free: 4.438 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.1272, allocations: 210.2 kB / 0.5638 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.1274, allocations: 0.677 MB / 0.5644 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.473e-05/0.1275, allocations: 12 kB / 0.5644 GB, free: 3.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.1275, allocations: 15.42 kB / 0.5645 GB, free: 3.465 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1275, allocations: 0 / 0.5645 GB, free: 3.465 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01008/0.1376, allocations: 1.397 MB / 0.5658 GB, free: 2.227 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.1378, allocations: 177.3 kB / 0.566 GB, free: 1.992 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.434/1.572, allocations: 3.938 kB / 0.566 GB, free: 1.988 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/linux/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) Environment - environmentSimulation: