Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001204/0.001204, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.00131/0.00131, allocations: 211 kB / 24.53 MB, free: 4.07 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.405/1.405, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2164/0.2164, allocations: 46.92 MB / 361.6 MB, free: 4.262 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_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 71.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3158, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01286/0.3286, allocations: 8.479 MB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.3416, allocations: 11.28 MB / 0.5808 GB, free: 488 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/0.3417, allocations: 3.938 kB / 0.5808 GB, free: 484 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.3419, allocations: 39.8 kB / 0.5808 GB, free: 444 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005244/0.3471, allocations: 1.867 MB / 0.5827 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.672e-06/0.3471, allocations: 0 / 0.5827 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3472, allocations: 51.61 kB / 0.5827 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.3473, allocations: 7.938 kB / 0.5827 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.3474, allocations: 31.84 kB / 0.5827 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.923e-05/0.3475, allocations: 19.94 kB / 0.5828 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.3475, allocations: 0 / 0.5828 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009928/0.3574, allocations: 6.756 MB / 0.5894 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.3574, allocations: 0 / 0.5894 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.3575, allocations: 23.8 kB / 0.5894 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.3691, allocations: 5.088 MB / 0.5944 GB, free: 2.566 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.3691, allocations: 4 kB / 0.5944 GB, free: 2.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3691, allocations: 0 / 0.5944 GB, free: 2.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3691, allocations: 3.938 kB / 0.5944 GB, free: 2.559 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00289/0.372, allocations: 0.5114 MB / 0.5949 GB, free: 2.016 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.372, allocations: 8.031 kB / 0.5949 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.359e-05/0.372, allocations: 0 / 0.5949 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.3721, allocations: 38.56 kB / 0.5949 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.3722, allocations: 7.984 kB / 0.5949 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3723, allocations: 113.2 kB / 0.595 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3723, allocations: 4 kB / 0.595 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.3723, allocations: 7.938 kB / 0.595 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3725, allocations: 85.61 kB / 0.5951 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3725, allocations: 3.938 kB / 0.5951 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.3725, allocations: 4 kB / 0.5951 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3725, allocations: 0 / 0.5951 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.3726, allocations: 75.97 kB / 0.5952 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.373, allocations: 295.8 kB / 0.5955 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.3731, allocations: 42.56 kB / 0.5955 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.3732, allocations: 32.95 kB / 0.5955 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00273/0.3759, allocations: 0.7998 MB / 0.5963 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3759, allocations: 34.56 kB / 0.5964 GB, free: 380 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.3759, allocations: 0 / 0.5964 GB, free: 380 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002853/0.3762, allocations: 113.6 kB / 0.5965 GB, free: 260 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.3762, allocations: 51.41 kB / 0.5965 GB, free: 196 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.3763, allocations: 101.8 kB / 0.5966 GB, free: 84 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3763, allocations: 25.7 kB / 0.5966 GB, free: 52 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.3764, allocations: 96.02 kB / 0.5967 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.3764, allocations: 27.73 kB / 0.5968 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.3765, allocations: 25.7 kB / 0.5968 GB, free: 15.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3766, allocations: 322.8 kB / 0.5971 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.3766, allocations: 23.98 kB / 0.5971 GB, free: 15.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.3767, allocations: 29.72 kB / 0.5971 GB, free: 15.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.534e-05/0.3768, allocations: 70.02 kB / 0.5972 GB, free: 15.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3768, allocations: 3.938 kB / 0.5972 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000159/0.377, allocations: 93.58 kB / 0.5973 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.377, allocations: 8.031 kB / 0.5973 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.377, allocations: 0 / 0.5973 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.377, allocations: 4 kB / 0.5973 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.377, allocations: 11.98 kB / 0.5973 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3771, allocations: 4 kB / 0.5973 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.3771, allocations: 0 / 0.5973 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.3771, allocations: 7.938 kB / 0.5973 GB, free: 15.3 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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 8.023e-05/0.3772, allocations: 113.8 kB / 0.5974 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.3772, allocations: 7.953 kB / 0.5975 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.3775, allocations: 149.7 kB / 0.5976 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001432/0.3776, allocations: 120.9 kB / 0.5977 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3776, allocations: 0 / 0.5977 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3776, allocations: 0 / 0.5977 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.3781, allocations: 413.3 kB / 0.5981 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3781, allocations: 0 / 0.5981 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.3782, allocations: 15.98 kB / 0.5981 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.3782, allocations: 3.938 kB / 0.5981 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3782, allocations: 12 kB / 0.5981 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3782, allocations: 256 / 0.5981 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3782, allocations: 4 kB / 0.5981 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.3784, allocations: 219.4 kB / 0.5983 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.3784, allocations: 11.86 kB / 0.5984 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.3784, allocations: 8 kB / 0.5984 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.224e-05/0.3785, allocations: 0 / 0.5984 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.3785, allocations: 3.984 kB / 0.5984 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.3785, allocations: 12 kB / 0.5984 GB, free: 14.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.717e-05/0.3786, allocations: 79.28 kB / 0.5985 GB, free: 14.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3786, allocations: 0 / 0.5985 GB, free: 14.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002068/0.3806, allocations: 358.9 kB / 0.5988 GB, free: 13.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.01424/0.3949, allocations: 4.753 MB / 0.6034 GB, free: 8.934 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.3952, allocations: 109.6 kB / 0.6035 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.3952, allocations: 0 / 0.6035 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.872e-05/0.3952, allocations: 39.98 kB / 0.6036 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.3957, allocations: 44.7 kB / 0.6036 GB, free: 8.738 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.3978, allocations: 414.1 kB / 0.604 GB, free: 8.289 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.3981, allocations: 0.6924 MB / 0.6047 GB, free: 7.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.3982, allocations: 19.73 kB / 0.6047 GB, free: 7.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.3983, allocations: 23.44 kB / 0.6047 GB, free: 7.527 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3983, allocations: 3.938 kB / 0.6047 GB, free: 7.523 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0476/0.4458, allocations: 20.3 MB / 0.6246 GB, free: 3.301 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.87, allocations: 5.5 kB / 0.6246 GB, free: 3.301 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 64.88820025301538] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 12.061473132984247 12.088231824 11.714116935 Calling exit ...