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.001311/0.001311, allocations: 121.2 kB / 18.5 MB, free: 4.637 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: 216.7 kB / 21.46 MB, free: 1.688 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.433/1.433, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2218/0.2218, allocations: 46.93 MB / 357.7 MB, free: 10.15 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.00214/0.00214, allocations: 75.83 kB / 0.4916 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1492, allocations: 66.05 MB / 0.5561 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01195/0.1612, allocations: 8.445 MB / 0.5644 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01551/0.1767, allocations: 13.05 MB / 0.5771 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.1768, allocations: 0 / 0.5771 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.177, allocations: 47.73 kB / 0.5772 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007076/0.1841, allocations: 2.137 MB / 0.5793 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.665e-06/0.1841, allocations: 0 / 0.5793 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1842, allocations: 55.66 kB / 0.5793 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.964e-05/0.1843, allocations: 4 kB / 0.5793 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.1844, allocations: 31.8 kB / 0.5793 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.553e-05/0.1845, allocations: 19.91 kB / 0.5794 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.1845, allocations: 4 kB / 0.5794 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/0.1948, allocations: 6.039 MB / 0.5853 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.1949, allocations: 7.938 kB / 0.5853 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.223e-05/0.1949, allocations: 15.94 kB / 0.5853 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.2068, allocations: 4.795 MB / 0.59 GB, free: 2.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.2068, allocations: 0 / 0.59 GB, free: 2.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.2068, allocations: 0 / 0.59 GB, free: 2.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.2068, allocations: 0 / 0.59 GB, free: 2.734 MB / 446.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.003349/0.2101, allocations: 0.641 MB / 0.5906 GB, free: 2.043 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.2102, allocations: 8.031 kB / 0.5906 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.195e-05/0.2102, allocations: 4 kB / 0.5906 GB, free: 2.031 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.2102, allocations: 34.56 kB / 0.5906 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.2103, allocations: 11.98 kB / 0.5907 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.2105, allocations: 171 kB / 0.5908 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.2105, allocations: 0 / 0.5908 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2105, allocations: 4 kB / 0.5908 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.2109, allocations: 117.5 kB / 0.5909 GB, free: 1.645 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2109, allocations: 0 / 0.5909 GB, free: 1.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2109, allocations: 7.938 kB / 0.5909 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2109, allocations: 0 / 0.5909 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.2113, allocations: 127.9 kB / 0.5911 GB, free: 1.512 MB / 446.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.0006425/0.2119, allocations: 400 kB / 0.5914 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.2122, allocations: 74.45 kB / 0.5915 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.2123, allocations: 36.84 kB / 0.5916 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2554/0.4678, allocations: 2.129 MB / 0.5936 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.4678, allocations: 30.56 kB / 0.5937 GB, free: 32.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 3.216e-06/0.4678, allocations: 1.312 kB / 0.5937 GB, free: 32.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006811/0.4685, allocations: 146.7 kB / 0.5938 GB, free: 32.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.4685, allocations: 52.06 kB / 0.5939 GB, free: 32.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.4686, allocations: 101.1 kB / 0.5939 GB, free: 32.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.4686, allocations: 26.45 kB / 0.594 GB, free: 32.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.4686, allocations: 95.62 kB / 0.5941 GB, free: 31.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.4686, allocations: 23.75 kB / 0.5941 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.4687, allocations: 24.02 kB / 0.5941 GB, free: 31.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.334e-05/0.4687, allocations: 319.2 kB / 0.5944 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.4688, allocations: 28.72 kB / 0.5944 GB, free: 31.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.4689, allocations: 38.55 kB / 0.5945 GB, free: 31.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.4691, allocations: 67.98 kB / 0.5945 GB, free: 31.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4691, allocations: 1.219 kB / 0.5945 GB, free: 31.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002659/0.4694, allocations: 106.2 kB / 0.5946 GB, free: 31.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4694, allocations: 5.75 kB / 0.5947 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4694, allocations: 3.25 kB / 0.5947 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4694, allocations: 0.5469 kB / 0.5947 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4695, allocations: 24.73 kB / 0.5947 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4695, allocations: 4.719 kB / 0.5947 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.4695, allocations: 12.19 kB / 0.5947 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.4696, allocations: 6.469 kB / 0.5947 GB, free: 31.56 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 5.425e-05/0.4696, allocations: 116.8 kB / 0.5948 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.4697, allocations: 6.094 kB / 0.5948 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.4701, allocations: 254.4 kB / 0.5951 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.4701, allocations: 4.047 kB / 0.5951 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4701, allocations: 0.6875 kB / 0.5951 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.4701, allocations: 0.5625 kB / 0.5951 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.4703, allocations: 225.4 kB / 0.5953 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4703, allocations: 5 kB / 0.5953 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.233e-05/0.4704, allocations: 24.41 kB / 0.5953 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4704, allocations: 1.5 kB / 0.5953 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4704, allocations: 5.938 kB / 0.5953 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4704, allocations: 0 / 0.5953 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4704, allocations: 1.375 kB / 0.5953 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.4708, allocations: 259.3 kB / 0.5956 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.4708, allocations: 88.19 kB / 0.5956 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.4708, allocations: 4.422 kB / 0.5957 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.4709, allocations: 3.156 kB / 0.5957 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.4709, allocations: 11.97 kB / 0.5957 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.4709, allocations: 5.484 kB / 0.5957 GB, free: 30.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.396e-05/0.471, allocations: 83.48 kB / 0.5958 GB, free: 30.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.471, allocations: 1.594 kB / 0.5958 GB, free: 30.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002293/0.4733, allocations: 377 kB / 0.5961 GB, free: 30.88 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.01145/0.4847, allocations: 4.25 MB / 0.6003 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.4851, allocations: 93 kB / 0.6004 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4851, allocations: 0 / 0.6004 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.4853, allocations: 58.53 kB / 0.6004 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.4856, allocations: 28.31 kB / 0.6004 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.4873, allocations: 447.4 kB / 0.6009 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.4874, allocations: 0.6964 MB / 0.6015 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.4875, allocations: 50.44 kB / 0.6016 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.4876, allocations: 27.25 kB / 0.6016 GB, free: 27.68 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4876, allocations: 4.688 kB / 0.6016 GB, free: 27.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04107/0.5287, allocations: 18.13 MB / 0.6193 GB, free: 22.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.936/9.464, allocations: 3.875 kB / 0.6193 GB, free: 22.72 MB / 446.1 MB " [Timeout remaining time 650] (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: 12.369525198999327] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'rho', 'mu', 'cp', 'k'] 9.60772366297897 9.617193767 9.408187181 Calling exit ...