Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.0008156/0.0008156, allocations: 76.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.0008321/0.0008321, allocations: 170.3 kB / 23.21 MB, free: 1.355 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.8977/0.8977, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.561/0.561, allocations: 114 MB / 373.9 MB, free: 8.719 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.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5542 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.801e-05, allocations: 6 kB / 0.5543 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001294/0.001322, allocations: 0.621 MB / 0.5549 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.003275, allocations: 1.435 MB / 0.5563 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.003328, allocations: 0 / 0.5563 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.003357, allocations: 3.938 kB / 0.5563 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.664e-05/0.003444, allocations: 7.922 kB / 0.5563 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.003903, allocations: 123.5 kB / 0.5564 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.016e-05/0.003994, allocations: 31.84 kB / 0.5564 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 6.463e-05/0.004058, allocations: 3.938 kB / 0.5564 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.975e-05/0.004118, allocations: 15.98 kB / 0.5564 GB, free: 496 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.545e-05/0.004193, allocations: 19.92 kB / 0.5565 GB, free: 476 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.004213, allocations: 0 / 0.5565 GB, free: 476 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.004554, allocations: 247.5 kB / 0.5567 GB, free: 228 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.004575, allocations: 11.97 kB / 0.5567 GB, free: 216 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.004599, allocations: 7.938 kB / 0.5567 GB, free: 208 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.004843, allocations: 195.5 kB / 0.5569 GB, free: 12 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.004848, allocations: 4 kB / 0.5569 GB, free: 8 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.465e-06/0.004851, allocations: 4 kB / 0.5569 GB, free: 4 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.004856, allocations: 0 / 0.5569 GB, free: 4 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004936/0.005349, allocations: 297.8 kB / 0.5572 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.005397, allocations: 12.56 kB / 0.5572 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.005431, allocations: 38.73 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.005679, allocations: 68.75 kB / 0.5573 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.005805, allocations: 109.8 kB / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.005826, allocations: 4.375 kB / 0.5574 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.005848, allocations: 4.375 kB / 0.5574 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.006037, allocations: 78.2 kB / 0.5575 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.00605, allocations: 4.125 kB / 0.5575 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.006061, allocations: 4.125 kB / 0.5575 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.006067, allocations: 0 / 0.5575 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.006253, allocations: 75.91 kB / 0.5576 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.006426, allocations: 136.8 kB / 0.5577 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.00672, allocations: 126.5 kB / 0.5578 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.006821, allocations: 36.94 kB / 0.5579 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.006843, allocations: 8 kB / 0.5579 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.006867, allocations: 34.5 kB / 0.5579 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 2.374e-06/0.006869, allocations: 3.984 kB / 0.5579 GB, free: 14.85 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.002311/0.00918, allocations: 0.7901 MB / 0.5587 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.00922, allocations: 51.41 kB / 0.5587 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.009309, allocations: 109.8 kB / 0.5588 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.009326, allocations: 29.7 kB / 0.5589 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.009363, allocations: 88.12 kB / 0.5589 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.009405, allocations: 31.7 kB / 0.559 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.009454, allocations: 29.7 kB / 0.559 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.009552, allocations: 314.8 kB / 0.5593 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.009798, allocations: 99.84 kB / 0.5594 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.01, allocations: 103.9 kB / 0.5595 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.01042, allocations: 192.9 kB / 0.5597 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01042, allocations: 0 / 0.5597 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004725/0.01089, allocations: 245.4 kB / 0.5599 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.01091, allocations: 4 kB / 0.5599 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.01092, allocations: 0 / 0.5599 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.01093, allocations: 0 / 0.5599 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.0111, allocations: 55.94 kB / 0.56 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.0111, allocations: 0 / 0.56 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.0112, allocations: 31.95 kB / 0.56 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.01121, allocations: 11.92 kB / 0.56 GB, free: 12.63 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 (9): * Single equations (assignments): 9 * 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 8.759e-05/0.0113, allocations: 121.8 kB / 0.5601 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.01132, allocations: 12.64 kB / 0.5601 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.01137, allocations: 8.438 kB / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01137, allocations: 0 / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.01138, allocations: 0 / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01139, allocations: 0 / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.01241, allocations: 0.5656 MB / 0.5607 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.01242, allocations: 4 kB / 0.5607 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.01254, allocations: 63.94 kB / 0.5608 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.01254, allocations: 0 / 0.5608 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.01256, allocations: 4 kB / 0.5608 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.01256, allocations: 0 / 0.5608 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01256, allocations: 0 / 0.5608 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.01304, allocations: 345 kB / 0.5611 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.01306, allocations: 4 kB / 0.5611 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01308, allocations: 11.98 kB / 0.5611 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.01318, allocations: 32.16 kB / 0.5611 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.01323, allocations: 11.97 kB / 0.5612 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.01324, allocations: 7.938 kB / 0.5612 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.652e-05/0.01329, allocations: 95.2 kB / 0.5613 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01329, allocations: 4 kB / 0.5613 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002224/0.01351, allocations: 39.88 kB / 0.5613 GB, free: 11.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0008338/0.01435, allocations: 0.8973 MB / 0.5622 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006879/0.01503, allocations: 207.8 kB / 0.5624 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01504, allocations: 0 / 0.5624 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.01524, allocations: 108 kB / 0.5625 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.01544, allocations: 4 kB / 0.5625 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.01799, allocations: 2.162 MB / 0.5646 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.339e-05/0.01805, allocations: 71.33 kB / 0.5647 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.725e-05/0.01812, allocations: 20.73 kB / 0.5647 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.0182, allocations: 28.48 kB / 0.5647 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of SimCode: time 1.133e-06/0.0182, allocations: 0 / 0.5647 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.0404, allocations: 3.496 MB / 0.5681 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.172, allocations: 9.5 kB / 0.5681 GB, free: 4.25 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.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_Functions_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.765709265135229] Failed to read output from testmodel.py, exit status != 0: 7.255559381097555 7.26753429 7.260755776 Calling exit ...