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.001853/0.001853, allocations: 121 kB / 18.49 MB, free: 4.586 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.001384/0.001384, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.463/1.463, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2236/0.2236, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.001908/0.001908, allocations: 63.89 kB / 0.4916 GB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1248, allocations: 65.99 MB / 0.556 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01263/0.1374, allocations: 8.445 MB / 0.5643 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01573/0.1531, allocations: 13.05 MB / 0.577 GB, free: 284 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.1532, allocations: 0 / 0.577 GB, free: 284 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1534, allocations: 35.8 kB / 0.5771 GB, free: 248 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005743/0.1591, allocations: 2.147 MB / 0.5792 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.6e-06/0.1591, allocations: 0 / 0.5792 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.1592, allocations: 51.61 kB / 0.5792 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.1593, allocations: 4 kB / 0.5792 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1594, allocations: 31.84 kB / 0.5793 GB, free: 14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.68e-05/0.1594, allocations: 19.94 kB / 0.5793 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.1594, allocations: 0 / 0.5793 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00968/0.1691, allocations: 6.051 MB / 0.5852 GB, free: 7.918 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.1691, allocations: 3.938 kB / 0.5852 GB, free: 7.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.1692, allocations: 15.94 kB / 0.5852 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.1792, allocations: 4.791 MB / 0.5899 GB, free: 3.102 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1792, allocations: 0 / 0.5899 GB, free: 3.102 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1792, allocations: 0 / 0.5899 GB, free: 3.102 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1792, allocations: 0 / 0.5899 GB, free: 3.102 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.002911/0.1822, allocations: 0.645 MB / 0.5905 GB, free: 2.406 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1822, allocations: 8.031 kB / 0.5905 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.82e-05/0.1822, allocations: 4 kB / 0.5905 GB, free: 2.395 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.1822, allocations: 30.56 kB / 0.5905 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.1824, allocations: 15.92 kB / 0.5906 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.1825, allocations: 167 kB / 0.5907 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1825, allocations: 0 / 0.5907 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1825, allocations: 12 kB / 0.5907 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.1829, allocations: 109.6 kB / 0.5908 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.1829, allocations: 3.984 kB / 0.5908 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1829, allocations: 8 kB / 0.5909 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1829, allocations: 0 / 0.5909 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.1832, allocations: 123.8 kB / 0.591 GB, free: 1.879 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.0005895/0.1838, allocations: 408 kB / 0.5914 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.1841, allocations: 66.52 kB / 0.5914 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1842, allocations: 36.95 kB / 0.5915 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.278/0.4622, allocations: 2.123 MB / 0.5935 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.4623, allocations: 44.06 kB / 0.5936 GB, free: 33.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/0.4623, allocations: 0 / 0.5936 GB, free: 33.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007615/0.463, allocations: 138.9 kB / 0.5937 GB, free: 32.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.4631, allocations: 54.3 kB / 0.5938 GB, free: 32.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.4632, allocations: 97.61 kB / 0.5938 GB, free: 32.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4632, allocations: 32.17 kB / 0.5939 GB, free: 32.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.4632, allocations: 94.67 kB / 0.594 GB, free: 32.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.4632, allocations: 21.75 kB / 0.594 GB, free: 32.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.4633, allocations: 23.59 kB / 0.594 GB, free: 32.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.363e-05/0.4633, allocations: 318.6 kB / 0.5943 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.4634, allocations: 27.03 kB / 0.5943 GB, free: 32.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.4635, allocations: 41.7 kB / 0.5944 GB, free: 32.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.4638, allocations: 73.8 kB / 0.5945 GB, free: 32.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4638, allocations: 1.688 kB / 0.5945 GB, free: 32.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002866/0.464, allocations: 101.1 kB / 0.5946 GB, free: 32.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4641, allocations: 9.656 kB / 0.5946 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4641, allocations: 1.156 kB / 0.5946 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4641, allocations: 3.75 kB / 0.5946 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.4642, allocations: 22.7 kB / 0.5946 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4642, allocations: 1.938 kB / 0.5946 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.4643, allocations: 8.766 kB / 0.5946 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.4643, allocations: 7.406 kB / 0.5946 GB, free: 32.31 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.715e-05/0.4643, allocations: 116.9 kB / 0.5947 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.4644, allocations: 4.234 kB / 0.5947 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/0.4648, allocations: 250.8 kB / 0.595 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.4649, allocations: 3.422 kB / 0.595 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4649, allocations: 4.625 kB / 0.595 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4649, allocations: 1.328 kB / 0.595 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.4651, allocations: 226.5 kB / 0.5952 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4651, allocations: 1.531 kB / 0.5952 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.672e-05/0.4652, allocations: 25 kB / 0.5952 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.4652, allocations: 2.188 kB / 0.5952 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4652, allocations: 3.406 kB / 0.5952 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4652, allocations: 1.531 kB / 0.5952 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4652, allocations: 1.969 kB / 0.5952 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.4656, allocations: 258.3 kB / 0.5955 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.4656, allocations: 90.14 kB / 0.5955 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.4656, allocations: 5.219 kB / 0.5956 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.4657, allocations: 11.39 kB / 0.5956 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.4657, allocations: 10.67 kB / 0.5956 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.4658, allocations: 7.641 kB / 0.5956 GB, free: 31.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.424e-05/0.4658, allocations: 82.12 kB / 0.5957 GB, free: 31.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4658, allocations: 0 / 0.5957 GB, free: 31.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003403/0.4692, allocations: 378.4 kB / 0.596 GB, free: 31.63 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.01256/0.4817, allocations: 4.248 MB / 0.6002 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004187/0.4822, allocations: 87.03 kB / 0.6003 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4822, allocations: 0.7812 kB / 0.6003 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.4823, allocations: 64.53 kB / 0.6003 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.4827, allocations: 18.23 kB / 0.6003 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.4845, allocations: 447 kB / 0.6008 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.4847, allocations: 0.7001 MB / 0.6014 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.4848, allocations: 56.91 kB / 0.6015 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.4848, allocations: 29.97 kB / 0.6015 GB, free: 28.43 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4848, allocations: 0 / 0.6015 GB, free: 28.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/0.5293, allocations: 18.16 MB / 0.6193 GB, free: 23.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.981/9.51, allocations: 10.09 kB / 0.6193 GB, free: 23.43 MB / 446.1 MB " [Timeout remaining time 650] (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: 12.579917250026483] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'rho', 'mu', 'cp', 'k'] 9.657298338017426 9.675625027 9.492891495 Calling exit ...