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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 119.9 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9238/0.9238, allocations: 129.2 MB / 432.5 MB, free: 13.19 MB / 350.1 MB " [Timeout remaining time 179] 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.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 0.002211/0.002211, allocations: 71.83 kB / 0.5987 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4336, allocations: 83.43 MB / 0.6802 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001823/0.4354, allocations: 0.6458 MB / 0.6809 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.437, allocations: 1.463 MB / 0.6823 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.4371, allocations: 0 / 0.6823 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.4371, allocations: 5.25 kB / 0.6823 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.457e-05/0.4371, allocations: 3.938 kB / 0.6823 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.4375, allocations: 122.4 kB / 0.6824 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.968e-05/0.4376, allocations: 27.97 kB / 0.6824 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.4376, allocations: 2 kB / 0.6824 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.158e-05/0.4377, allocations: 9.781 kB / 0.6824 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.4377, allocations: 25.92 kB / 0.6825 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.4377, allocations: 2.188 kB / 0.6825 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.4381, allocations: 320.4 kB / 0.6828 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.4381, allocations: 9 kB / 0.6828 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.4382, allocations: 14.56 kB / 0.6828 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.4384, allocations: 190.3 kB / 0.683 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4384, allocations: 0 / 0.683 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4384, allocations: 0 / 0.683 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4384, allocations: 0 / 0.683 GB, free: 3.875 MB / 0.4981 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.000486/0.4389, allocations: 391.1 kB / 0.6834 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.439, allocations: 9.438 kB / 0.6834 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.439, allocations: 39.8 kB / 0.6834 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.4394, allocations: 59.52 kB / 0.6835 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.4395, allocations: 173.3 kB / 0.6836 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4395, allocations: 5.188 kB / 0.6836 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.4395, allocations: 5.781 kB / 0.6836 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.4398, allocations: 73.73 kB / 0.6837 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4398, allocations: 4 kB / 0.6837 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.4398, allocations: 1.062 kB / 0.6837 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4398, allocations: 0 / 0.6837 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.4401, allocations: 73.47 kB / 0.6838 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.4403, allocations: 167.5 kB / 0.6839 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.4408, allocations: 121.2 kB / 0.6841 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.441, allocations: 42.02 kB / 0.6841 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.441, allocations: 5.547 kB / 0.6841 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.441, allocations: 42.48 kB / 0.6841 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.441, allocations: 0.9375 kB / 0.6841 GB, free: 2.746 MB / 0.4981 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.003808/0.4448, allocations: 0.7874 MB / 0.6849 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.4448, allocations: 52.34 kB / 0.685 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.9e-05/0.4449, allocations: 110.3 kB / 0.6851 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.4449, allocations: 29.7 kB / 0.6851 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.4449, allocations: 81.58 kB / 0.6852 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.445, allocations: 39.42 kB / 0.6852 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.445, allocations: 30.23 kB / 0.6852 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.4451, allocations: 317.3 kB / 0.6855 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.4455, allocations: 96.34 kB / 0.6856 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.4459, allocations: 96.83 kB / 0.6857 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008296/0.4467, allocations: 198.8 kB / 0.6859 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4467, allocations: 7.938 kB / 0.6859 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009539/0.4477, allocations: 238.2 kB / 0.6861 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.4477, allocations: 11.25 kB / 0.6862 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4477, allocations: 5.406 kB / 0.6862 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.4477, allocations: 0 / 0.6862 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.4481, allocations: 56.38 kB / 0.6862 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.4481, allocations: 0 / 0.6862 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.4484, allocations: 37.14 kB / 0.6863 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.4484, allocations: 7.797 kB / 0.6863 GB, free: 1.391 MB / 0.4981 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 9.051e-05/0.4485, allocations: 116.1 kB / 0.6864 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.4485, allocations: 2.375 kB / 0.6864 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.4486, allocations: 9.781 kB / 0.6864 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4486, allocations: 2.062 kB / 0.6864 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.4486, allocations: 4 kB / 0.6864 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4486, allocations: 4 kB / 0.6864 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.4502, allocations: 0.6029 MB / 0.687 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4502, allocations: 1.625 kB / 0.687 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.4505, allocations: 50.02 kB / 0.687 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.4505, allocations: 5.766 kB / 0.687 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.4505, allocations: 2.594 kB / 0.687 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4505, allocations: 1.031 kB / 0.687 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4505, allocations: 5.156 kB / 0.687 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008611/0.4514, allocations: 343.3 kB / 0.6874 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.4514, allocations: 78.95 kB / 0.6874 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.4514, allocations: 6.531 kB / 0.6875 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.4517, allocations: 33.05 kB / 0.6875 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.4517, allocations: 24.48 kB / 0.6875 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.4517, allocations: 7.609 kB / 0.6875 GB, free: 384 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.4518, allocations: 91.47 kB / 0.6876 GB, free: 300 kB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4518, allocations: 0 / 0.6876 GB, free: 300 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003083/0.4521, allocations: 43.7 kB / 0.6876 GB, free: 284 kB / 0.4981 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.001297/0.4534, allocations: 0.8961 MB / 0.6885 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009114/0.4543, allocations: 211 kB / 0.6887 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4543, allocations: 0 / 0.6887 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.4547, allocations: 110.5 kB / 0.6888 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.455, allocations: 11.38 kB / 0.6888 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004715/0.4597, allocations: 2.125 MB / 0.6909 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.4601, allocations: 0.6871 MB / 0.6916 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.4602, allocations: 25.19 kB / 0.6916 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/0.4603, allocations: 27.39 kB / 0.6916 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.4603, allocations: 0 / 0.6916 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.485, allocations: 2.747 MB / 0.6943 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.455, allocations: 5.953 kB / 0.6943 GB, free: 11.54 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.050358321983367] Failed to read output from testmodel.py, exit status != 0: 8.525277548935264 8.547100081 8.104339669 Calling exit ...