Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001287/0.001287, 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.001395/0.001395, allocations: 210.7 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.362/1.362, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.211/0.211, allocations: 46.92 MB / 361.6 MB, free: 4.145 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_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 76.2 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3114, allocations: 66.09 MB / 0.5615 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01293/0.3243, allocations: 8.471 MB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.3389, allocations: 13.11 MB / 0.5826 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.3389, allocations: 0 / 0.5826 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.3391, allocations: 39.78 kB / 0.5826 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006/0.3451, allocations: 2.166 MB / 0.5847 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.123e-06/0.3451, allocations: 0 / 0.5847 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.3452, allocations: 55.61 kB / 0.5848 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.3453, allocations: 0 / 0.5848 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.3454, allocations: 31.84 kB / 0.5848 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.3455, allocations: 15.94 kB / 0.5848 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.3455, allocations: 0 / 0.5848 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/0.3565, allocations: 6.078 MB / 0.5908 GB, free: 6.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.019e-05/0.3565, allocations: 19.92 kB / 0.5908 GB, free: 6.188 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.3566, allocations: 11.94 kB / 0.5908 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.3686, allocations: 4.799 MB / 0.5955 GB, free: 1.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3686, allocations: 0 / 0.5955 GB, free: 1.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3686, allocations: 0 / 0.5955 GB, free: 1.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.3686, allocations: 4 kB / 0.5955 GB, free: 1.367 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.003087/0.3717, allocations: 0.558 MB / 0.596 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.3717, allocations: 12.03 kB / 0.596 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.874e-05/0.3718, allocations: 4 kB / 0.596 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.3718, allocations: 34.56 kB / 0.5961 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.3719, allocations: 15.92 kB / 0.5961 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.372, allocations: 113.1 kB / 0.5962 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.372, allocations: 0 / 0.5962 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.3721, allocations: 8 kB / 0.5962 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.3724, allocations: 117.5 kB / 0.5963 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3724, allocations: 0 / 0.5963 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3724, allocations: 8 kB / 0.5963 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3724, allocations: 0 / 0.5963 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.3728, allocations: 123.9 kB / 0.5964 GB, free: 316 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.0006089/0.3734, allocations: 379.1 kB / 0.5968 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.3737, allocations: 74.53 kB / 0.5969 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3738, allocations: 32.83 kB / 0.5969 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002984/0.3767, allocations: 0.8624 MB / 0.5977 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3768, allocations: 30.56 kB / 0.5978 GB, free: 14.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3768, allocations: 3.938 kB / 0.5978 GB, free: 14.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006407/0.3774, allocations: 145.6 kB / 0.5979 GB, free: 14.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.3775, allocations: 55.41 kB / 0.598 GB, free: 14.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.529e-05/0.3775, allocations: 101.8 kB / 0.5981 GB, free: 14.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3776, allocations: 25.7 kB / 0.5981 GB, free: 14.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.3776, allocations: 91.98 kB / 0.5982 GB, free: 14.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.3776, allocations: 23.8 kB / 0.5982 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.3777, allocations: 25.7 kB / 0.5982 GB, free: 14.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3778, allocations: 318.8 kB / 0.5985 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.3779, allocations: 31.97 kB / 0.5986 GB, free: 14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.378, allocations: 41.69 kB / 0.5986 GB, free: 13.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.3782, allocations: 70.09 kB / 0.5987 GB, free: 13.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.3782, allocations: 0 / 0.5987 GB, free: 13.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002897/0.3785, allocations: 109.8 kB / 0.5988 GB, free: 13.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3786, allocations: 4 kB / 0.5988 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3786, allocations: 0 / 0.5988 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3786, allocations: 7.984 kB / 0.5988 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3787, allocations: 15.98 kB / 0.5988 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3787, allocations: 0 / 0.5988 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.3788, allocations: 11.89 kB / 0.5988 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3788, allocations: 15.92 kB / 0.5988 GB, free: 13.71 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 8.992e-05/0.3789, allocations: 113.9 kB / 0.5989 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.3789, allocations: 4 kB / 0.5989 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005027/0.3794, allocations: 256.1 kB / 0.5992 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3794, allocations: 4 kB / 0.5992 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3794, allocations: 0 / 0.5992 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3794, allocations: 0 / 0.5992 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.3797, allocations: 212.5 kB / 0.5994 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3797, allocations: 0 / 0.5994 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.3798, allocations: 19.98 kB / 0.5994 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3798, allocations: 0 / 0.5994 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3798, allocations: 4 kB / 0.5994 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3798, allocations: 0 / 0.5994 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3798, allocations: 0 / 0.5994 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.3801, allocations: 263.2 kB / 0.5997 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.3802, allocations: 11.89 kB / 0.5997 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3802, allocations: 4 kB / 0.5997 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.3803, allocations: 7.984 kB / 0.5997 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.3803, allocations: 11.92 kB / 0.5997 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3803, allocations: 12 kB / 0.5997 GB, free: 12.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.157e-05/0.3804, allocations: 87.2 kB / 0.5998 GB, free: 12.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3804, allocations: 0 / 0.5998 GB, free: 12.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002082/0.3824, allocations: 371 kB / 0.6001 GB, free: 12.29 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.01249/0.3949, allocations: 4.254 MB / 0.6043 GB, free: 8.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.3953, allocations: 86.53 kB / 0.6044 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3953, allocations: 0 / 0.6044 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.3955, allocations: 67.92 kB / 0.6044 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3958, allocations: 19.98 kB / 0.6045 GB, free: 7.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.3977, allocations: 458.7 kB / 0.6049 GB, free: 7.348 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.398, allocations: 0.7002 MB / 0.6056 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.3981, allocations: 47.61 kB / 0.6056 GB, free: 6.574 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.3982, allocations: 35.42 kB / 0.6057 GB, free: 6.539 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3982, allocations: 0 / 0.6057 GB, free: 6.539 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04285/0.441, allocations: 18.3 MB / 0.6235 GB, free: 4.305 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.78, allocations: 8 kB / 0.6235 GB, free: 4.297 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.634215761034284] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'rho', 'mu', 'cp', 'k'] 11.961232573958114 11.99140465 11.617010768 Calling exit ...