Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001693/0.001693, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.393/1.393, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2321/0.2321, allocations: 46.95 MB / 361.6 MB, free: 3.926 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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 79.88 kB / 0.4969 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3457, allocations: 66.08 MB / 0.5614 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01178/0.3575, allocations: 8.045 MB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.3689, allocations: 9.894 MB / 0.5789 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.3689, allocations: 0 / 0.5789 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.3691, allocations: 23.84 kB / 0.579 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.3733, allocations: 1.855 MB / 0.5808 GB, free: 152 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.668e-06/0.3733, allocations: 0 / 0.5808 GB, free: 152 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.853e-05/0.3734, allocations: 47.67 kB / 0.5808 GB, free: 104 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.3734, allocations: 7.922 kB / 0.5808 GB, free: 96 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3735, allocations: 35.86 kB / 0.5809 GB, free: 60 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.3736, allocations: 19.92 kB / 0.5809 GB, free: 40 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.3736, allocations: 7.984 kB / 0.5809 GB, free: 32 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/0.3838, allocations: 6.682 MB / 0.5874 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.3838, allocations: 7.922 kB / 0.5874 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.3839, allocations: 11.94 kB / 0.5874 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.3973, allocations: 5.104 MB / 0.5924 GB, free: 4.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3973, allocations: 0 / 0.5924 GB, free: 4.207 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3973, allocations: 0 / 0.5924 GB, free: 4.207 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3973, allocations: 3.938 kB / 0.5924 GB, free: 4.203 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.00265/0.4, allocations: 0.4958 MB / 0.5929 GB, free: 3.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4, allocations: 12.03 kB / 0.5929 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.589e-05/0.4, allocations: 12 kB / 0.5929 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.4001, allocations: 34.56 kB / 0.593 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.4002, allocations: 11.98 kB / 0.593 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.4003, allocations: 113.1 kB / 0.5931 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.4003, allocations: 0 / 0.5931 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.4003, allocations: 4 kB / 0.5931 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.4005, allocations: 81.61 kB / 0.5932 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.4005, allocations: 0 / 0.5932 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4005, allocations: 4 kB / 0.5932 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4005, allocations: 0 / 0.5932 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.4006, allocations: 83.95 kB / 0.5932 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.4011, allocations: 295.8 kB / 0.5935 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.105e-05/0.4012, allocations: 34.69 kB / 0.5936 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.4012, allocations: 28.84 kB / 0.5936 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002798/0.404, allocations: 0.8076 MB / 0.5944 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.4041, allocations: 34.56 kB / 0.5944 GB, free: 2.027 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.4041, allocations: 0 / 0.5944 GB, free: 2.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002872/0.4043, allocations: 117.6 kB / 0.5945 GB, free: 1.906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.4044, allocations: 51.41 kB / 0.5946 GB, free: 1.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.4045, allocations: 97.86 kB / 0.5947 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.4045, allocations: 25.7 kB / 0.5947 GB, free: 1.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.4045, allocations: 88.03 kB / 0.5948 GB, free: 1.617 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.4046, allocations: 31.73 kB / 0.5948 GB, free: 1.586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.4046, allocations: 21.72 kB / 0.5948 GB, free: 1.559 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4047, allocations: 330.8 kB / 0.5951 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.4048, allocations: 19.94 kB / 0.5952 GB, free: 1.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.516e-05/0.4048, allocations: 37.7 kB / 0.5952 GB, free: 1.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.262e-05/0.4049, allocations: 61.7 kB / 0.5953 GB, free: 1.098 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4049, allocations: 0 / 0.5953 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001671/0.4051, allocations: 101.5 kB / 0.5954 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4051, allocations: 6.188 kB / 0.5954 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4051, allocations: 4 kB / 0.5954 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4051, allocations: 0 / 0.5954 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.4052, allocations: 11.97 kB / 0.5954 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4052, allocations: 4 kB / 0.5954 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/0.4052, allocations: 3.984 kB / 0.5954 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.4052, allocations: 7.938 kB / 0.5954 GB, free: 0.957 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 9.842e-05/0.4053, allocations: 114.2 kB / 0.5955 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.4054, allocations: 3.953 kB / 0.5955 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.4056, allocations: 153.6 kB / 0.5956 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001465/0.4058, allocations: 113.7 kB / 0.5958 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4058, allocations: 0 / 0.5958 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4058, allocations: 192 / 0.5958 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.4062, allocations: 408.5 kB / 0.5961 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4062, allocations: 256 / 0.5961 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.957e-05/0.4063, allocations: 27.92 kB / 0.5962 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.4063, allocations: 7.922 kB / 0.5962 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.4063, allocations: 4.188 kB / 0.5962 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4063, allocations: 0 / 0.5962 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4063, allocations: 3.938 kB / 0.5962 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.4066, allocations: 219.5 kB / 0.5964 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.4066, allocations: 15.88 kB / 0.5964 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.4066, allocations: 0 / 0.5964 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.26e-05/0.4067, allocations: 4 kB / 0.5964 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.4067, allocations: 11.92 kB / 0.5964 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.4067, allocations: 8 kB / 0.5964 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.722e-05/0.4067, allocations: 79.27 kB / 0.5965 GB, free: 15.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4067, allocations: 0 / 0.5965 GB, free: 15.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001941/0.4087, allocations: 366.8 kB / 0.5969 GB, free: 15.37 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.01366/0.4223, allocations: 4.731 MB / 0.6015 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.4226, allocations: 109.7 kB / 0.6016 GB, free: 10.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4226, allocations: 0 / 0.6016 GB, free: 10.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.4227, allocations: 44.11 kB / 0.6016 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.4231, allocations: 48.19 kB / 0.6017 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.4245, allocations: 418.2 kB / 0.6021 GB, free: 9.945 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.551e-05/0.4246, allocations: 87.02 kB / 0.6022 GB, free: 9.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.4247, allocations: 19.91 kB / 0.6022 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.4247, allocations: 23.44 kB / 0.6022 GB, free: 9.797 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4247, allocations: 0 / 0.6022 GB, free: 9.797 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04674/0.4714, allocations: 20.45 MB / 0.6222 GB, free: 5.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.06, allocations: 8 kB / 0.6222 GB, free: 5.422 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 65.12922915408853] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 12.238638027920388 12.252982849 11.852675097 Calling exit ...