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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008074/0.0008074, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8915/0.8915, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.58/0.58, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.5542 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.194e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.00197/0.001992, allocations: 1.45 MB / 0.5556 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009336/0.002926, allocations: 0.7554 MB / 0.5564 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.00296, allocations: 4 kB / 0.5564 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.002988, allocations: 3.938 kB / 0.5564 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.003025, allocations: 0 / 0.5564 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.003466, allocations: 135.4 kB / 0.5565 GB, free: 396 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.224e-05/0.003538, allocations: 35.92 kB / 0.5565 GB, free: 360 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.003674, allocations: 0 / 0.5565 GB, free: 360 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.003743, allocations: 27.91 kB / 0.5566 GB, free: 332 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.003794, allocations: 11.98 kB / 0.5566 GB, free: 320 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.00381, allocations: 4 kB / 0.5566 GB, free: 316 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.00409, allocations: 247.5 kB / 0.5568 GB, free: 68 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.004108, allocations: 11.98 kB / 0.5568 GB, free: 56 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.004128, allocations: 7.984 kB / 0.5568 GB, free: 48 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.004385, allocations: 211.4 kB / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004388, allocations: 0 / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.342e-06/0.004389, allocations: 0 / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.004394, allocations: 7.938 kB / 0.557 GB, free: 15.83 MB / 0.5261 GB 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.0004025/0.004797, allocations: 301.9 kB / 0.5573 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.004837, allocations: 8.625 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.004866, allocations: 34.73 kB / 0.5574 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.005106, allocations: 64.86 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.841e-05/0.005185, allocations: 121.7 kB / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.005204, allocations: 384 / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.005213, allocations: 384 / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.005387, allocations: 86.19 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005395, allocations: 192 / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.005405, allocations: 4.125 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.00541, allocations: 4 kB / 0.5576 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.005617, allocations: 91.84 kB / 0.5577 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.005957, allocations: 256 kB / 0.558 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.006143, allocations: 94.5 kB / 0.5581 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.869e-05/0.006242, allocations: 52.81 kB / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.006258, allocations: 3.984 kB / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.006276, allocations: 34.5 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.006277, allocations: 0 / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003866/0.006664, allocations: 169.6 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.006692, allocations: 51.41 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.454e-05/0.006747, allocations: 105.8 kB / 0.5585 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.006759, allocations: 25.7 kB / 0.5585 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.006791, allocations: 84.14 kB / 0.5586 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.006809, allocations: 11.89 kB / 0.5586 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.006837, allocations: 13.7 kB / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.006908, allocations: 322.9 kB / 0.5589 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.721e-05/0.007006, allocations: 43.95 kB / 0.5589 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.007098, allocations: 51.89 kB / 0.559 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.007275, allocations: 88.83 kB / 0.5591 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.007279, allocations: 7.922 kB / 0.5591 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002178/0.007496, allocations: 125.5 kB / 0.5592 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.007515, allocations: 4 kB / 0.5592 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.00752, allocations: 0 / 0.5592 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.00753, allocations: 0 / 0.5592 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.00762, allocations: 23.97 kB / 0.5592 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007625, allocations: 4.031 kB / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.007674, allocations: 19.97 kB / 0.5592 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.007682, allocations: 4 kB / 0.5592 GB, free: 13.37 MB / 0.5261 GB 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.737e-05/0.007739, allocations: 105.8 kB / 0.5593 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.007755, allocations: 3.938 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.007785, allocations: 11.31 kB / 0.5594 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.007787, allocations: 0 / 0.5594 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.007793, allocations: 3.984 kB / 0.5594 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.007795, allocations: 4 kB / 0.5594 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.007907, allocations: 128.8 kB / 0.5595 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.007908, allocations: 3.938 kB / 0.5595 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.007965, allocations: 24.22 kB / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.007967, allocations: 3.938 kB / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.007976, allocations: 4 kB / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.007977, allocations: 0 / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.007978, allocations: 0 / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.00823, allocations: 219.5 kB / 0.5597 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.008236, allocations: 11.89 kB / 0.5597 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.008249, allocations: 0 / 0.5597 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.343e-05/0.008313, allocations: 19.97 kB / 0.5598 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.008347, allocations: 0 / 0.5598 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.008351, allocations: 0 / 0.5598 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.853e-05/0.00838, allocations: 87.27 kB / 0.5598 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.00838, allocations: 3.938 kB / 0.5599 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001713/0.008551, allocations: 15.94 kB / 0.5599 GB, free: 12.67 MB / 0.5261 GB 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.0005347/0.009086, allocations: 0.7592 MB / 0.5606 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.009354, allocations: 103.9 kB / 0.5607 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.009356, allocations: 0 / 0.5607 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.009462, allocations: 43.95 kB / 0.5607 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.009706, allocations: 12.11 kB / 0.5608 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.01016, allocations: 198.2 kB / 0.5609 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.0102, allocations: 63.34 kB / 0.561 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.631e-05/0.01025, allocations: 8 kB / 0.561 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.01029, allocations: 16.5 kB / 0.561 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/0.01029, allocations: 0 / 0.561 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.02716, allocations: 2.374 MB / 0.5634 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.772/6.8, allocations: 14.2 kB / 0.5634 GB, free: 9.145 MB / 0.5261 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.395905764773488] Failed to read output from testmodel.py, exit status != 0: 6.881651959381998 6.891075267 6.885037486 Calling exit ...