Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001344/0.001344, allocations: 112.2 kB / 21.22 MB, free: 0.7422 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.001525/0.001525, allocations: 209.2 kB / 24.53 MB, free: 4.133 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.256/0.256, allocations: 46.93 MB / 361.6 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_phX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.88 kB / 0.4969 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3757, allocations: 66.03 MB / 0.5614 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01342/0.3892, allocations: 8.478 MB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.4051, allocations: 13.11 MB / 0.5825 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.4052, allocations: 0 / 0.5825 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.4054, allocations: 43.78 kB / 0.5825 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007087/0.4125, allocations: 2.159 MB / 0.5846 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.114e-05/0.4125, allocations: 0 / 0.5846 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.4127, allocations: 51.61 kB / 0.5847 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.4127, allocations: 0 / 0.5847 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.4129, allocations: 35.84 kB / 0.5847 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.4129, allocations: 19.86 kB / 0.5847 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.4129, allocations: 4 kB / 0.5847 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/0.4237, allocations: 6.082 MB / 0.5907 GB, free: 6.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.4237, allocations: 3.938 kB / 0.5907 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.4238, allocations: 15.94 kB / 0.5907 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.4357, allocations: 4.795 MB / 0.5954 GB, free: 1.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.4357, allocations: 7.938 kB / 0.5954 GB, free: 1.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4357, allocations: 0 / 0.5954 GB, free: 1.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.4357, allocations: 0 / 0.5954 GB, free: 1.602 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.00368/0.4394, allocations: 0.5659 MB / 0.5959 GB, free: 1.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.4394, allocations: 8.031 kB / 0.5959 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.326e-05/0.4395, allocations: 0 / 0.5959 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.4395, allocations: 42.5 kB / 0.596 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.4396, allocations: 11.98 kB / 0.596 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.4398, allocations: 109.2 kB / 0.5961 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.4398, allocations: 4 kB / 0.5961 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.4398, allocations: 4 kB / 0.5961 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.4402, allocations: 125.5 kB / 0.5962 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4402, allocations: 0 / 0.5962 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.4402, allocations: 0 / 0.5962 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4402, allocations: 0 / 0.5962 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.4406, allocations: 135.8 kB / 0.5964 GB, free: 0.5312 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.4412, allocations: 371.2 kB / 0.5967 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.4415, allocations: 70.52 kB / 0.5968 GB, free: 36 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.4417, allocations: 36.88 kB / 0.5968 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003163/0.4448, allocations: 0.8623 MB / 0.5977 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.4449, allocations: 34.5 kB / 0.5977 GB, free: 15.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.4449, allocations: 4 kB / 0.5977 GB, free: 15.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007039/0.4456, allocations: 141.6 kB / 0.5978 GB, free: 14.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.4456, allocations: 55.41 kB / 0.5979 GB, free: 14.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.4458, allocations: 101.8 kB / 0.598 GB, free: 14.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.4458, allocations: 25.7 kB / 0.598 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.4459, allocations: 95.98 kB / 0.5981 GB, free: 14.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.4459, allocations: 23.78 kB / 0.5981 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/0.4459, allocations: 29.72 kB / 0.5982 GB, free: 14.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4461, allocations: 318.8 kB / 0.5985 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.4462, allocations: 23.98 kB / 0.5985 GB, free: 14.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.4464, allocations: 49.61 kB / 0.5985 GB, free: 14.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.4466, allocations: 65.7 kB / 0.5986 GB, free: 14.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4466, allocations: 0 / 0.5986 GB, free: 14.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003143/0.4469, allocations: 101.6 kB / 0.5987 GB, free: 14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4469, allocations: 4 kB / 0.5987 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4469, allocations: 0 / 0.5987 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4469, allocations: 4 kB / 0.5987 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.447, allocations: 19.98 kB / 0.5987 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.447, allocations: 4.031 kB / 0.5987 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.4471, allocations: 15.88 kB / 0.5987 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.4471, allocations: 7.938 kB / 0.5987 GB, free: 13.95 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001049/0.4472, allocations: 117.8 kB / 0.5988 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/0.4473, allocations: 0 / 0.5988 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.4478, allocations: 257.4 kB / 0.5991 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.4478, allocations: 3.984 kB / 0.5991 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4478, allocations: 0 / 0.5991 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4479, allocations: 0 / 0.5991 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.4481, allocations: 204.5 kB / 0.5993 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4481, allocations: 0 / 0.5993 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-05/0.4482, allocations: 19.98 kB / 0.5993 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.4482, allocations: 0 / 0.5993 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.4482, allocations: 12 kB / 0.5993 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4482, allocations: 0 / 0.5993 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4482, allocations: 0 / 0.5993 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.4486, allocations: 269.3 kB / 0.5996 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.4486, allocations: 11.89 kB / 0.5996 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.4487, allocations: 0 / 0.5996 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.4487, allocations: 8 kB / 0.5996 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.4488, allocations: 23.84 kB / 0.5996 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.4488, allocations: 4 kB / 0.5996 GB, free: 12.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.585e-05/0.4489, allocations: 79.22 kB / 0.5997 GB, free: 12.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4489, allocations: 4 kB / 0.5997 GB, free: 12.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002286/0.4511, allocations: 371 kB / 0.6001 GB, free: 12.52 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: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.01717/0.4683, allocations: 4.244 MB / 0.6042 GB, free: 8.246 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000523/0.4688, allocations: 96.48 kB / 0.6043 GB, free: 8.152 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4688, allocations: 3.938 kB / 0.6043 GB, free: 8.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.469, allocations: 63.92 kB / 0.6044 GB, free: 8.086 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.4695, allocations: 29 kB / 0.6044 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.4725, allocations: 455.3 kB / 0.6048 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.4728, allocations: 0.7001 MB / 0.6055 GB, free: 6.848 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.473, allocations: 47.67 kB / 0.6056 GB, free: 6.801 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.698e-05/0.4731, allocations: 27.44 kB / 0.6056 GB, free: 6.773 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4731, allocations: 0 / 0.6056 GB, free: 6.773 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05659/0.5297, allocations: 18.34 MB / 0.6235 GB, free: 4.523 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.35, allocations: 16 kB / 0.6235 GB, free: 4.508 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.368147079017945] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'rho', 'mu', 'cp', 'k'] 12.529070443997625 12.556905395 12.115883984 Calling exit ...