Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 124.9 kB / 18.5 MB, free: 4.418 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 208.7 kB / 21.46 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.92 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 76.06 kB / 0.4916 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1269, allocations: 66.05 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01319/0.1401, allocations: 8.756 MB / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01831/0.1584, allocations: 14.1 MB / 0.5785 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.1585, allocations: 4 kB / 0.5785 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1587, allocations: 43.8 kB / 0.5785 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007193/0.1659, allocations: 2.442 MB / 0.5809 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.166, allocations: 15.92 kB / 0.5809 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1662, allocations: 127.3 kB / 0.581 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.1663, allocations: 4 kB / 0.581 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.1664, allocations: 63.77 kB / 0.5811 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1665, allocations: 51.77 kB / 0.5812 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1666, allocations: 0 / 0.5812 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.1787, allocations: 7.329 MB / 0.5883 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.1787, allocations: 11.92 kB / 0.5883 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.87e-05/0.1788, allocations: 43.8 kB / 0.5884 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2513/0.4301, allocations: 6.331 MB / 0.5945 GB, free: 10.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4301, allocations: 0 / 0.5945 GB, free: 10.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4301, allocations: 0 / 0.5945 GB, free: 10.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.4301, allocations: 1.797 kB / 0.5946 GB, free: 10.17 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00548/0.4356, allocations: 0.7303 MB / 0.5953 GB, free: 9.617 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4356, allocations: 11.69 kB / 0.5953 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.055e-05/0.4357, allocations: 6.75 kB / 0.5953 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.4357, allocations: 39.33 kB / 0.5953 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.4359, allocations: 23.45 kB / 0.5953 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.436, allocations: 177 kB / 0.5955 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.4361, allocations: 10.62 kB / 0.5955 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.4361, allocations: 9 kB / 0.5955 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.4365, allocations: 128.4 kB / 0.5957 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4365, allocations: 0 / 0.5957 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.4365, allocations: 4.531 kB / 0.5957 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.4366, allocations: 2.469 kB / 0.5957 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.437, allocations: 111.8 kB / 0.5958 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.4377, allocations: 0.6065 MB / 0.5964 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.4382, allocations: 133.7 kB / 0.5965 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.4383, allocations: 52.47 kB / 0.5965 GB, free: 8.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002661/0.441, allocations: 1.978 MB / 0.5985 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.4414, allocations: 140.4 kB / 0.5986 GB, free: 7.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 3.085e-06/0.4414, allocations: 0.8906 kB / 0.5986 GB, free: 7.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008705/0.4423, allocations: 230.2 kB / 0.5988 GB, free: 6.969 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.4423, allocations: 54.64 kB / 0.5989 GB, free: 6.906 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.777e-05/0.4424, allocations: 110.5 kB / 0.599 GB, free: 6.805 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.4424, allocations: 29.92 kB / 0.599 GB, free: 6.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.4425, allocations: 91.08 kB / 0.5991 GB, free: 6.688 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.4425, allocations: 55.94 kB / 0.5991 GB, free: 6.652 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.4426, allocations: 36.31 kB / 0.5992 GB, free: 6.637 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.4427, allocations: 325.9 kB / 0.5995 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.4428, allocations: 45.67 kB / 0.5995 GB, free: 6.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.4429, allocations: 66.61 kB / 0.5996 GB, free: 6.305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.4432, allocations: 106.1 kB / 0.5997 GB, free: 6.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4432, allocations: 0.5156 kB / 0.5997 GB, free: 6.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004123/0.4436, allocations: 158.2 kB / 0.5999 GB, free: 6.254 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4437, allocations: 4.688 kB / 0.5999 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.4437, allocations: 2.844 kB / 0.5999 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.4437, allocations: 1.312 kB / 0.5999 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.4438, allocations: 22.86 kB / 0.5999 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4438, allocations: 6.016 kB / 0.5999 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.4439, allocations: 23.61 kB / 0.5999 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.444, allocations: 6.766 kB / 0.5999 GB, free: 6.246 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 (dT,$PRE.dT,state_check.phase,p,$PRE.p,state.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001082/0.4441, allocations: 125.1 kB / 0.6 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.4441, allocations: 6.578 kB / 0.6 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006686/0.4448, allocations: 358.2 kB / 0.6004 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004802/0.4453, allocations: 295.5 kB / 0.6007 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.4453, allocations: 3.281 kB / 0.6007 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4453, allocations: 4.672 kB / 0.6007 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.4463, allocations: 0.7007 MB / 0.6014 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4464, allocations: 4.281 kB / 0.6014 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.4465, allocations: 30.05 kB / 0.6014 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.4465, allocations: 1.562 kB / 0.6014 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.4465, allocations: 8.875 kB / 0.6014 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4465, allocations: 0.6875 kB / 0.6014 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4465, allocations: 0 / 0.6014 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007251/0.4473, allocations: 458.3 kB / 0.6018 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.4473, allocations: 94.09 kB / 0.6019 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.4473, allocations: 6.484 kB / 0.6019 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.4475, allocations: 26.45 kB / 0.602 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.4476, allocations: 19.61 kB / 0.602 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.4476, allocations: 14.83 kB / 0.602 GB, free: 5.453 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.421e-05/0.4476, allocations: 81.86 kB / 0.6021 GB, free: 5.379 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4476, allocations: 0.9062 kB / 0.6021 GB, free: 5.379 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004854/0.4525, allocations: 463.4 kB / 0.6025 GB, free: 5.297 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,p,state_check.phase,dT) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01957/0.4721, allocations: 5.761 MB / 0.6081 GB, free: 2.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006203/0.4727, allocations: 189.2 kB / 0.6083 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4727, allocations: 3.078 kB / 0.6083 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.4729, allocations: 105.3 kB / 0.6084 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.4735, allocations: 85.39 kB / 0.6085 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/0.4787, allocations: 1.972 MB / 0.6104 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.479, allocations: 0.7197 MB / 0.6111 GB, free: 16.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.4792, allocations: 53.27 kB / 0.6112 GB, free: 16.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.003e-05/0.4793, allocations: 47.33 kB / 0.6112 GB, free: 16.25 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4793, allocations: 0 / 0.6112 GB, free: 16.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04776/0.5271, allocations: 23.33 MB / 0.634 GB, free: 8.172 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.243/9.77, allocations: 4.062 kB / 0.634 GB, free: 8.168 MB / 462.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.288109880988486] Failed to read output from testmodel.py, exit status != 0: ['time'] 9.92310598801123 9.935875336 9.50299571 Calling exit ...