Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001609/0.001609, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001923/0.001923, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.435/1.435, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2234/0.2234, allocations: 46.94 MB / 361.6 MB, free: 4.184 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-beta.om/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_phX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 83.86 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3237, allocations: 66.08 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01282/0.3366, allocations: 8.478 MB / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.3523, allocations: 13.11 MB / 0.5826 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.3523, allocations: 0 / 0.5826 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.3525, allocations: 43.78 kB / 0.5826 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005971/0.3585, allocations: 2.16 MB / 0.5847 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.492e-06/0.3585, allocations: 4 kB / 0.5847 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.3586, allocations: 47.67 kB / 0.5848 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.3587, allocations: 0 / 0.5848 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.3588, allocations: 39.84 kB / 0.5848 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.67e-05/0.3588, allocations: 15.94 kB / 0.5848 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.3588, allocations: 3.938 kB / 0.5848 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01116/0.37, allocations: 6.082 MB / 0.5908 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.37, allocations: 3.938 kB / 0.5908 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.507e-05/0.3701, allocations: 15.94 kB / 0.5908 GB, free: 6.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.3834, allocations: 4.799 MB / 0.5955 GB, free: 1.426 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.3834, allocations: 0 / 0.5955 GB, free: 1.426 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3834, allocations: 0 / 0.5955 GB, free: 1.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3834, allocations: 8 kB / 0.5955 GB, free: 1.418 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.002844/0.3862, allocations: 0.5541 MB / 0.596 GB, free: 0.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3863, allocations: 12.03 kB / 0.596 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.3863, allocations: 38.5 kB / 0.5961 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.3864, allocations: 11.98 kB / 0.5961 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.3866, allocations: 113.1 kB / 0.5962 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3866, allocations: 4 kB / 0.5962 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.3866, allocations: 7.938 kB / 0.5962 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.3869, allocations: 121.5 kB / 0.5963 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3869, allocations: 0 / 0.5963 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3869, allocations: 4 kB / 0.5963 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3869, allocations: 0 / 0.5963 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.3873, allocations: 135.8 kB / 0.5965 GB, free: 360 kB / 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.0005998/0.3879, allocations: 367.2 kB / 0.5968 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.3882, allocations: 70.52 kB / 0.5969 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.3883, allocations: 36.83 kB / 0.5969 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002963/0.3912, allocations: 0.8585 MB / 0.5977 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.3913, allocations: 42.48 kB / 0.5978 GB, free: 14.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.3913, allocations: 4 kB / 0.5978 GB, free: 14.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006229/0.3919, allocations: 141.6 kB / 0.5979 GB, free: 14.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.3919, allocations: 51.41 kB / 0.598 GB, free: 14.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.392, allocations: 97.84 kB / 0.5981 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3921, allocations: 25.7 kB / 0.5981 GB, free: 14.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.3921, allocations: 99.98 kB / 0.5982 GB, free: 14.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.3921, allocations: 27.78 kB / 0.5982 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.3922, allocations: 21.72 kB / 0.5982 GB, free: 14.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3923, allocations: 322.8 kB / 0.5985 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.3924, allocations: 23.98 kB / 0.5986 GB, free: 14.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-05/0.3925, allocations: 37.7 kB / 0.5986 GB, free: 14.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.3927, allocations: 77.61 kB / 0.5987 GB, free: 13.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3927, allocations: 0 / 0.5987 GB, free: 13.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002711/0.393, allocations: 97.78 kB / 0.5988 GB, free: 13.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.393, allocations: 8 kB / 0.5988 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.393, allocations: 0 / 0.5988 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.393, allocations: 3.984 kB / 0.5988 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3931, allocations: 28.02 kB / 0.5988 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3931, allocations: 0 / 0.5988 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.3932, allocations: 15.88 kB / 0.5988 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3932, allocations: 0 / 0.5988 GB, free: 13.78 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 9.757e-05/0.3933, allocations: 117.8 kB / 0.5989 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.3933, allocations: 4 kB / 0.5989 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.3938, allocations: 257.4 kB / 0.5992 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.3938, allocations: 7.984 kB / 0.5992 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3938, allocations: 0 / 0.5992 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3939, allocations: 0 / 0.5992 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.3941, allocations: 204.5 kB / 0.5994 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3941, allocations: 0 / 0.5994 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.3942, allocations: 27.98 kB / 0.5994 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3942, allocations: 4 kB / 0.5994 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3942, allocations: 0 / 0.5994 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3942, allocations: 4 kB / 0.5994 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3942, allocations: 0 / 0.5994 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.3946, allocations: 261.6 kB / 0.5997 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.3946, allocations: 15.88 kB / 0.5997 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3946, allocations: 0 / 0.5997 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.3947, allocations: 8 kB / 0.5997 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.3947, allocations: 15.92 kB / 0.5997 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3947, allocations: 3.984 kB / 0.5997 GB, free: 12.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.3948, allocations: 83.28 kB / 0.5998 GB, free: 12.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3948, allocations: 0 / 0.5998 GB, free: 12.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001925/0.3967, allocations: 374.9 kB / 0.6001 GB, free: 12.35 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.01241/0.4091, allocations: 4.248 MB / 0.6043 GB, free: 8.066 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.4095, allocations: 91.94 kB / 0.6044 GB, free: 7.977 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4095, allocations: 4 kB / 0.6044 GB, free: 7.973 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.4097, allocations: 63.86 kB / 0.6044 GB, free: 7.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.41, allocations: 26.47 kB / 0.6045 GB, free: 7.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.4119, allocations: 458.8 kB / 0.6049 GB, free: 7.395 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.4123, allocations: 0.6924 MB / 0.6056 GB, free: 6.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.4124, allocations: 53.67 kB / 0.6056 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/0.4125, allocations: 31.42 kB / 0.6057 GB, free: 6.594 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4125, allocations: 0 / 0.6057 GB, free: 6.594 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04586/0.4583, allocations: 18.18 MB / 0.6234 GB, free: 4.445 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.685/9.143, allocations: 6.344 kB / 0.6234 GB, free: 4.441 MB / 462.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.903321751859039] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'rho', 'mu', 'cp', 'k'] 9.235393637791276 9.25155648 8.864817733 Calling exit ...