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.001823/0.001823, allocations: 115.1 kB / 20.45 MB, free: 1.172 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.002108/0.002108, allocations: 204.8 kB / 23.72 MB, free: 4.383 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.5 MB / 257.4 MB, free: 7.742 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.2355/0.2355, allocations: 46.96 MB / 360.8 MB, free: 3.895 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 87.86 kB / 0.4961 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3542, allocations: 66.07 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01352/0.3677, allocations: 8.341 MB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01824/0.3859, allocations: 12.4 MB / 0.5809 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.312e-05/0.386, allocations: 0 / 0.5809 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.3863, allocations: 43.73 kB / 0.581 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.3968, allocations: 2.438 MB / 0.5833 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.3969, allocations: 15.97 kB / 0.5834 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.3972, allocations: 135.1 kB / 0.5835 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.3973, allocations: 0 / 0.5835 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.3975, allocations: 63.77 kB / 0.5836 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.3977, allocations: 39.86 kB / 0.5836 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.3977, allocations: 4 kB / 0.5836 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01428/0.412, allocations: 7.275 MB / 0.5907 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.4121, allocations: 11.97 kB / 0.5907 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.4122, allocations: 35.88 kB / 0.5907 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01713/0.4293, allocations: 6.344 MB / 0.5969 GB, free: 14.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.4293, allocations: 0 / 0.5969 GB, free: 14.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4293, allocations: 0 / 0.5969 GB, free: 14.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.4293, allocations: 0 / 0.5969 GB, free: 14.78 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.004112/0.4334, allocations: 0.6637 MB / 0.5976 GB, free: 14.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4335, allocations: 12.03 kB / 0.5976 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.3e-05/0.4335, allocations: 42.55 kB / 0.5976 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.4337, allocations: 23.94 kB / 0.5977 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.4338, allocations: 109.2 kB / 0.5978 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.4339, allocations: 7.938 kB / 0.5978 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.4339, allocations: 11.98 kB / 0.5978 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.4343, allocations: 206.7 kB / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4343, allocations: 0 / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.4344, allocations: 4 kB / 0.598 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.4344, allocations: 4 kB / 0.598 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003513/0.4347, allocations: 115.9 kB / 0.5981 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.4354, allocations: 355.6 kB / 0.5984 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.4358, allocations: 134.5 kB / 0.5986 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.436, allocations: 48.83 kB / 0.5986 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002312/0.4383, allocations: 0.6399 MB / 0.5992 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004192/0.4387, allocations: 220.3 kB / 0.5995 GB, free: 12.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.4387, allocations: 0 / 0.5995 GB, free: 12.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008144/0.4395, allocations: 235 kB / 0.5997 GB, free: 11.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.4396, allocations: 55.41 kB / 0.5997 GB, free: 11.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.4396, allocations: 110 kB / 0.5998 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.4397, allocations: 33.64 kB / 0.5999 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.4397, allocations: 103.8 kB / 0.6 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.4398, allocations: 43.62 kB / 0.6 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.4398, allocations: 37.7 kB / 0.6 GB, free: 11.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.44, allocations: 322.8 kB / 0.6003 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4401, allocations: 47.97 kB / 0.6004 GB, free: 11.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.4403, allocations: 68.44 kB / 0.6005 GB, free: 10.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.4406, allocations: 104.8 kB / 0.6006 GB, free: 10.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4406, allocations: 0 / 0.6006 GB, free: 10.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004007/0.441, allocations: 161.5 kB / 0.6007 GB, free: 10.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.441, allocations: 12 kB / 0.6007 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.441, allocations: 0 / 0.6007 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.441, allocations: 0 / 0.6007 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.4411, allocations: 23.98 kB / 0.6007 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.4411, allocations: 4 kB / 0.6008 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.4412, allocations: 19.88 kB / 0.6008 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.4413, allocations: 4 kB / 0.6008 GB, free: 10.61 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.phase,p,$PRE.p,state_check.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.0001113/0.4414, allocations: 125.8 kB / 0.6009 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.4414, allocations: 11.95 kB / 0.6009 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000637/0.4421, allocations: 361.3 kB / 0.6013 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004614/0.4425, allocations: 305.5 kB / 0.6015 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4425, allocations: 0 / 0.6015 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4426, allocations: 0 / 0.6015 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.4437, allocations: 0.6728 MB / 0.6022 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4437, allocations: 0 / 0.6022 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.4438, allocations: 35.97 kB / 0.6022 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4438, allocations: 4 kB / 0.6022 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.4438, allocations: 4 kB / 0.6022 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4438, allocations: 3.938 kB / 0.6022 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4438, allocations: 0 / 0.6022 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.4446, allocations: 467.1 kB / 0.6027 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.4446, allocations: 19.81 kB / 0.6027 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.4446, allocations: 11.98 kB / 0.6027 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.4448, allocations: 20.05 kB / 0.6027 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.4449, allocations: 23.95 kB / 0.6028 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.4449, allocations: 12 kB / 0.6028 GB, free: 8.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.732e-05/0.445, allocations: 87.27 kB / 0.6029 GB, free: 8.383 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.445, allocations: 0 / 0.6029 GB, free: 8.383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002713/0.4477, allocations: 454.7 kB / 0.6033 GB, free: 7.938 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,dT,state_check.phase,p) * 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.01825/0.4659, allocations: 5.778 MB / 0.6089 GB, free: 2.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005797/0.4665, allocations: 189.5 kB / 0.6091 GB, free: 1.934 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4665, allocations: 0 / 0.6091 GB, free: 1.934 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.4668, allocations: 115.8 kB / 0.6092 GB, free: 1.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.4674, allocations: 72.09 kB / 0.6093 GB, free: 1.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.4719, allocations: 1.977 MB / 0.6112 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.472, allocations: 103.1 kB / 0.6113 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.4721, allocations: 52.95 kB / 0.6114 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/0.4722, allocations: 51.41 kB / 0.6114 GB, free: 15.46 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4722, allocations: 0 / 0.6114 GB, free: 15.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06462/0.5369, allocations: 24.23 MB / 0.6351 GB, free: 7.336 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.59, allocations: 6.094 kB / 0.6351 GB, free: 7.332 MB / 478.1 MB " [Timeout remaining time 647] (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: 16.227930488996208] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.725053614994977 12.742120814 12.309467485 Calling exit ...