Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001258/0.001258, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.001549/0.001549, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 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 1.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2235/0.2235, allocations: 44.94 MB / 359.6 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 55.91 kB / 0.4938 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3015, allocations: 65.48 MB / 0.5577 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01282/0.3143, allocations: 8.02 MB / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.3272, allocations: 9.887 MB / 0.5752 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.3273, allocations: 0 / 0.5752 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.3275, allocations: 35.81 kB / 0.5752 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.3327, allocations: 1.844 MB / 0.577 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.931e-06/0.3327, allocations: 0 / 0.577 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3328, allocations: 51.66 kB / 0.5771 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.3328, allocations: 11.88 kB / 0.5771 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.333, allocations: 27.92 kB / 0.5771 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.873e-05/0.333, allocations: 15.92 kB / 0.5771 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.333, allocations: 0 / 0.5771 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.344, allocations: 6.686 MB / 0.5837 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.3441, allocations: 7.938 kB / 0.5837 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.3441, allocations: 15.92 kB / 0.5837 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.3587, allocations: 5.092 MB / 0.5887 GB, free: 7.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3588, allocations: 0 / 0.5887 GB, free: 7.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3588, allocations: 4 kB / 0.5887 GB, free: 7.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.3588, allocations: 0 / 0.5887 GB, free: 7.742 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.002761/0.3615, allocations: 0.4959 MB / 0.5891 GB, free: 7.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3616, allocations: 11.97 kB / 0.5892 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.553e-05/0.3616, allocations: 0 / 0.5892 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.3616, allocations: 34.56 kB / 0.5892 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3617, allocations: 15.94 kB / 0.5892 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.417e-05/0.3618, allocations: 109.2 kB / 0.5893 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3618, allocations: 0 / 0.5893 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.3618, allocations: 8 kB / 0.5893 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.362, allocations: 85.55 kB / 0.5894 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.362, allocations: 0 / 0.5894 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.362, allocations: 4 kB / 0.5894 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.362, allocations: 0 / 0.5894 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3622, allocations: 83.95 kB / 0.5895 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.3626, allocations: 299.7 kB / 0.5898 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.3627, allocations: 30.58 kB / 0.5898 GB, free: 6.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.3628, allocations: 28.91 kB / 0.5898 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003009/0.3658, allocations: 0.8115 MB / 0.5906 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3658, allocations: 30.56 kB / 0.5906 GB, free: 5.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3658, allocations: 0 / 0.5906 GB, free: 5.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000336/0.3661, allocations: 121.6 kB / 0.5908 GB, free: 5.445 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.3662, allocations: 55.41 kB / 0.5908 GB, free: 5.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/0.3663, allocations: 93.86 kB / 0.5909 GB, free: 5.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3663, allocations: 29.83 kB / 0.5909 GB, free: 5.242 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.3663, allocations: 84.09 kB / 0.591 GB, free: 5.156 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.3664, allocations: 31.73 kB / 0.591 GB, free: 5.125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.3664, allocations: 21.72 kB / 0.5911 GB, free: 5.098 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3665, allocations: 322.8 kB / 0.5914 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-05/0.3666, allocations: 23.94 kB / 0.5914 GB, free: 4.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/0.3666, allocations: 33.7 kB / 0.5914 GB, free: 4.711 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.3667, allocations: 61.72 kB / 0.5915 GB, free: 4.645 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3667, allocations: 0 / 0.5915 GB, free: 4.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001869/0.3669, allocations: 101.6 kB / 0.5916 GB, free: 4.539 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3669, allocations: 4 kB / 0.5916 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.367, allocations: 0 / 0.5916 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.367, allocations: 0 / 0.5916 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.367, allocations: 16.31 kB / 0.5916 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.367, allocations: 4 kB / 0.5916 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.3671, allocations: 0 / 0.5916 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.3671, allocations: 7.938 kB / 0.5916 GB, free: 4.508 MB / 430.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.204e-05/0.3672, allocations: 113.8 kB / 0.5917 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.3672, allocations: 11.94 kB / 0.5917 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.3675, allocations: 149.5 kB / 0.5919 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001505/0.3676, allocations: 117.6 kB / 0.592 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3676, allocations: 0 / 0.592 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3676, allocations: 4 kB / 0.592 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.3681, allocations: 401.5 kB / 0.5924 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3681, allocations: 96 / 0.5924 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.3682, allocations: 23.88 kB / 0.5924 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3682, allocations: 3.938 kB / 0.5924 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3682, allocations: 0 / 0.5924 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3682, allocations: 0 / 0.5924 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3682, allocations: 4 kB / 0.5924 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3684, allocations: 223.5 kB / 0.5926 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.3684, allocations: 7.938 kB / 0.5926 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3684, allocations: 0 / 0.5926 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.3685, allocations: 4.25 kB / 0.5926 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.3685, allocations: 7.984 kB / 0.5926 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3685, allocations: 8 kB / 0.5926 GB, free: 3.367 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.647e-05/0.3686, allocations: 83.22 kB / 0.5927 GB, free: 3.285 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3686, allocations: 0 / 0.5927 GB, free: 3.285 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002433/0.371, allocations: 366.8 kB / 0.5931 GB, free: 2.926 MB / 430.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.01474/0.3857, allocations: 4.738 MB / 0.5977 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.386, allocations: 105.6 kB / 0.5978 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.386, allocations: 192 / 0.5978 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.3861, allocations: 51.86 kB / 0.5979 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.3866, allocations: 42.67 kB / 0.5979 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.3887, allocations: 401.5 kB / 0.5983 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.99e-05/0.3887, allocations: 75.33 kB / 0.5983 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.3888, allocations: 20.06 kB / 0.5984 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.3889, allocations: 27.42 kB / 0.5984 GB, free: 13.38 MB / 446.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3889, allocations: 0 / 0.5984 GB, free: 13.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04721/0.4361, allocations: 20.36 MB / 0.6183 GB, free: 9.141 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.93, allocations: 16.59 kB / 0.6183 GB, free: 9.133 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 65.99098071805201] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 13.122256654081866 13.153883201 12.788784557 Calling exit ...