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.001307/0.001307, 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.001352/0.001352, allocations: 212.7 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.403/1.403, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2263/0.2263, allocations: 46.94 MB / 361.6 MB, free: 3.934 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.00222/0.00222, allocations: 80.2 kB / 0.4969 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3272, allocations: 66.08 MB / 0.5614 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01241/0.3396, allocations: 8.05 MB / 0.5693 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.3532, allocations: 11.46 MB / 0.5805 GB, free: 500 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.3532, allocations: 0 / 0.5805 GB, free: 500 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.3534, allocations: 31.81 kB / 0.5805 GB, free: 468 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006546/0.36, allocations: 2.143 MB / 0.5826 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.335e-05/0.36, allocations: 3.938 kB / 0.5826 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.3601, allocations: 55.59 kB / 0.5827 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.237e-05/0.3602, allocations: 4 kB / 0.5827 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.3604, allocations: 23.86 kB / 0.5827 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.886e-05/0.3604, allocations: 23.92 kB / 0.5827 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.3604, allocations: 0 / 0.5827 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0112/0.3716, allocations: 6.004 MB / 0.5886 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.3717, allocations: 7.984 kB / 0.5886 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.3717, allocations: 15.88 kB / 0.5886 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.3864, allocations: 4.791 MB / 0.5933 GB, free: 3.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3864, allocations: 0 / 0.5933 GB, free: 3.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3864, allocations: 0 / 0.5933 GB, free: 3.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.3864, allocations: 0 / 0.5933 GB, free: 3.363 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.00335/0.3898, allocations: 0.5735 MB / 0.5938 GB, free: 2.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.3898, allocations: 8.031 kB / 0.5938 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.852e-05/0.3898, allocations: 11.94 kB / 0.5939 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.3899, allocations: 34.56 kB / 0.5939 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.39, allocations: 11.98 kB / 0.5939 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3902, allocations: 101.2 kB / 0.594 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.3902, allocations: 8 kB / 0.594 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3902, allocations: 4 kB / 0.594 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.3906, allocations: 113.6 kB / 0.5941 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3906, allocations: 0 / 0.5941 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.3906, allocations: 4 kB / 0.5941 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3906, allocations: 7.938 kB / 0.5941 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.391, allocations: 127.9 kB / 0.5942 GB, free: 2.293 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.0006908/0.3917, allocations: 315.7 kB / 0.5945 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.392, allocations: 66.53 kB / 0.5946 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3921, allocations: 40.77 kB / 0.5947 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003235/0.3953, allocations: 0.8663 MB / 0.5955 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3954, allocations: 30.56 kB / 0.5955 GB, free: 0.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3954, allocations: 0 / 0.5955 GB, free: 0.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006572/0.396, allocations: 145.6 kB / 0.5957 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3961, allocations: 51.41 kB / 0.5957 GB, free: 0.707 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.3962, allocations: 101.8 kB / 0.5958 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3962, allocations: 25.7 kB / 0.5958 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.3962, allocations: 95.98 kB / 0.5959 GB, free: 480 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.3963, allocations: 27.91 kB / 0.596 GB, free: 452 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.3963, allocations: 21.7 kB / 0.596 GB, free: 424 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3965, allocations: 322.8 kB / 0.5963 GB, free: 92 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3966, allocations: 31.91 kB / 0.5963 GB, free: 60 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.3967, allocations: 37.7 kB / 0.5963 GB, free: 16 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.3969, allocations: 65.69 kB / 0.5964 GB, free: 15.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3969, allocations: 0 / 0.5964 GB, free: 15.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003046/0.3972, allocations: 109.8 kB / 0.5965 GB, free: 15.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3972, allocations: 4 kB / 0.5965 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3973, allocations: 0 / 0.5965 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3973, allocations: 4 kB / 0.5965 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3974, allocations: 19.97 kB / 0.5965 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3974, allocations: 0 / 0.5965 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.3975, allocations: 15.89 kB / 0.5966 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3975, allocations: 7.969 kB / 0.5966 GB, free: 15.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 0.0001043/0.3976, allocations: 125.8 kB / 0.5967 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.3976, allocations: 0 / 0.5967 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.3981, allocations: 252.2 kB / 0.5969 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.3981, allocations: 0 / 0.5969 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3981, allocations: 4 kB / 0.5969 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3982, allocations: 0 / 0.5969 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.3984, allocations: 212.5 kB / 0.5971 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3984, allocations: 0 / 0.5971 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.3985, allocations: 19.98 kB / 0.5972 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3985, allocations: 3.938 kB / 0.5972 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3985, allocations: 11.94 kB / 0.5972 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3985, allocations: 0 / 0.5972 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3985, allocations: 0 / 0.5972 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.3989, allocations: 259.3 kB / 0.5974 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.3989, allocations: 7.891 kB / 0.5974 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.3989, allocations: 8 kB / 0.5974 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.399, allocations: 3.984 kB / 0.5974 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.3991, allocations: 7.984 kB / 0.5974 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3991, allocations: 8 kB / 0.5974 GB, free: 14.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.095e-05/0.3991, allocations: 87.2 kB / 0.5975 GB, free: 14.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3991, allocations: 0 / 0.5975 GB, free: 14.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002244/0.4014, allocations: 375 kB / 0.5979 GB, free: 14.36 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.01413/0.4155, allocations: 4.254 MB / 0.602 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004271/0.4159, allocations: 94.53 kB / 0.6021 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4159, allocations: 0 / 0.6021 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.4161, allocations: 59.92 kB / 0.6022 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.4164, allocations: 19.98 kB / 0.6022 GB, free: 9.902 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.4186, allocations: 466.8 kB / 0.6027 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.109e-05/0.4187, allocations: 87.02 kB / 0.6027 GB, free: 9.297 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.4188, allocations: 51.61 kB / 0.6028 GB, free: 9.246 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.4189, allocations: 31.42 kB / 0.6028 GB, free: 9.215 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4189, allocations: 0 / 0.6028 GB, free: 9.215 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04603/0.4649, allocations: 18.39 MB / 0.6208 GB, free: 6.898 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.94, allocations: 12.03 kB / 0.6208 GB, free: 6.887 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.855035363929346] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'rho', 'mu', 'cp', 'k'] 12.119428597972728 12.140729349 11.751027033 Calling exit ...