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.0009139/0.0009139, allocations: 80.53 kB / 19.93 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.0009487/0.0009487, allocations: 169.9 kB / 23.21 MB, free: 1.359 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.9222/0.9222, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6053/0.6053, allocations: 114 MB / 373.9 MB, free: 8.723 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.5543 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.363e-05, allocations: 5.781 kB / 0.5543 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001255/0.001278, allocations: 0.6182 MB / 0.5549 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.00286, allocations: 1.439 MB / 0.5563 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.002896, allocations: 0 / 0.5563 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.002919, allocations: 0 / 0.5563 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.002995, allocations: 7.938 kB / 0.5563 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.003412, allocations: 129.8 kB / 0.5564 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.336e-05/0.003475, allocations: 27.91 kB / 0.5564 GB, free: 480 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.003528, allocations: 0 / 0.5564 GB, free: 480 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.417e-05/0.003583, allocations: 23.91 kB / 0.5564 GB, free: 456 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.614e-05/0.003639, allocations: 11.98 kB / 0.5565 GB, free: 444 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.003654, allocations: 0 / 0.5565 GB, free: 444 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.003918, allocations: 251.4 kB / 0.5567 GB, free: 192 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.003938, allocations: 11.92 kB / 0.5567 GB, free: 180 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.003955, allocations: 7.938 kB / 0.5567 GB, free: 172 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.004182, allocations: 203.5 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004184, allocations: 0 / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004185, allocations: 3.938 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.004191, allocations: 3.984 kB / 0.5569 GB, free: 15.96 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004817/0.004673, allocations: 301.8 kB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.004715, allocations: 8.625 kB / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.004745, allocations: 30.75 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.004964, allocations: 64.81 kB / 0.5573 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.005086, allocations: 117.7 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.005104, allocations: 384 / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.005122, allocations: 4.375 kB / 0.5574 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.005292, allocations: 74.2 kB / 0.5575 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.005304, allocations: 4.188 kB / 0.5575 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.005316, allocations: 8.125 kB / 0.5575 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.005321, allocations: 0 / 0.5575 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.005501, allocations: 71.86 kB / 0.5576 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.005636, allocations: 136.8 kB / 0.5577 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.005905, allocations: 126.5 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.005995, allocations: 36.95 kB / 0.5579 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.006009, allocations: 0 / 0.5579 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.006026, allocations: 34.56 kB / 0.5579 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.006027, allocations: 0 / 0.5579 GB, free: 14.83 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.002045/0.008073, allocations: 0.7934 MB / 0.5587 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.008107, allocations: 55.41 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.008179, allocations: 117.8 kB / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.008344, allocations: 29.64 kB / 0.5589 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.008377, allocations: 84.14 kB / 0.5589 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.008421, allocations: 35.69 kB / 0.559 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.008465, allocations: 25.7 kB / 0.559 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.008545, allocations: 318.8 kB / 0.5593 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.008761, allocations: 99.89 kB / 0.5594 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.00896, allocations: 103.9 kB / 0.5595 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.009355, allocations: 188.7 kB / 0.5597 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.009356, allocations: 0 / 0.5597 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004689/0.009825, allocations: 245.4 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.009839, allocations: 8 kB / 0.5599 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.009845, allocations: 0 / 0.5599 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.009859, allocations: 0 / 0.5599 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.01001, allocations: 55.94 kB / 0.56 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01002, allocations: 0 / 0.56 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.01012, allocations: 35.95 kB / 0.56 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.01013, allocations: 11.98 kB / 0.56 GB, free: 12.59 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 6.28e-05/0.01019, allocations: 109.8 kB / 0.5601 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.0102, allocations: 15.83 kB / 0.5601 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.01024, allocations: 16.42 kB / 0.5602 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01024, allocations: 0 / 0.5602 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01025, allocations: 0.75 kB / 0.5602 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01025, allocations: 0 / 0.5602 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000881/0.01113, allocations: 0.5617 MB / 0.5607 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01113, allocations: 0 / 0.5607 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.01125, allocations: 56 kB / 0.5608 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.01126, allocations: 4 kB / 0.5608 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01127, allocations: 7.984 kB / 0.5608 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.01127, allocations: 3.938 kB / 0.5608 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01127, allocations: 0 / 0.5608 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004685/0.01174, allocations: 353.2 kB / 0.5611 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.01175, allocations: 4 kB / 0.5611 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.01177, allocations: 4 kB / 0.5611 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.01188, allocations: 39.89 kB / 0.5612 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.01191, allocations: 11.98 kB / 0.5612 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01192, allocations: 7.984 kB / 0.5612 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.01196, allocations: 95.22 kB / 0.5613 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01196, allocations: 0 / 0.5613 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002034/0.01216, allocations: 39.86 kB / 0.5613 GB, free: 11.19 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.0007591/0.01292, allocations: 0.8934 MB / 0.5622 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000769/0.01369, allocations: 207.7 kB / 0.5624 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01369, allocations: 4 kB / 0.5624 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.0139, allocations: 104 kB / 0.5625 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.01408, allocations: 8 kB / 0.5625 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.01647, allocations: 2.15 MB / 0.5646 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.985e-05/0.01652, allocations: 71.34 kB / 0.5647 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.834e-05/0.01659, allocations: 24.72 kB / 0.5647 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.01666, allocations: 24.86 kB / 0.5647 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/0.01666, allocations: 4 kB / 0.5647 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.0357, allocations: 3.496 MB / 0.5681 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.095/7.13, allocations: 8.016 kB / 0.5681 GB, free: 4.227 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.739672786556184] Failed to read output from testmodel.py, exit status != 0: 7.209253230132163 7.217331609 7.211530864 Calling exit ...