Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001311/0.001311, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001511/0.001511, allocations: 219 kB / 21.46 MB, free: 1.586 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.437/1.437, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.223/0.223, 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_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 71.89 kB / 0.4916 GB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1279, allocations: 65.98 MB / 0.556 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01231/0.1402, allocations: 8.451 MB / 0.5643 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.1529, allocations: 11.22 MB / 0.5753 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.1529, allocations: 0 / 0.5753 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.1532, allocations: 39.8 kB / 0.5753 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005639/0.1588, allocations: 1.844 MB / 0.5771 GB, free: 192 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.975e-06/0.1588, allocations: 0 / 0.5771 GB, free: 192 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.1589, allocations: 47.62 kB / 0.5771 GB, free: 144 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.159, allocations: 11.97 kB / 0.5771 GB, free: 132 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1591, allocations: 35.84 kB / 0.5772 GB, free: 96 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.1592, allocations: 11.94 kB / 0.5772 GB, free: 84 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1592, allocations: 4 kB / 0.5772 GB, free: 80 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.1694, allocations: 6.721 MB / 0.5838 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.1694, allocations: 4 kB / 0.5838 GB, free: 9.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.1695, allocations: 15.88 kB / 0.5838 GB, free: 9.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.1815, allocations: 5.1 MB / 0.5888 GB, free: 4.219 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.1815, allocations: 0 / 0.5888 GB, free: 4.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1815, allocations: 0 / 0.5888 GB, free: 4.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1816, allocations: 8 kB / 0.5888 GB, free: 4.211 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.00344/0.185, allocations: 0.5789 MB / 0.5893 GB, free: 3.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.185, allocations: 12.03 kB / 0.5893 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.544e-05/0.1851, allocations: 0 / 0.5893 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.1851, allocations: 38.56 kB / 0.5894 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.1852, allocations: 7.984 kB / 0.5894 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.1854, allocations: 163 kB / 0.5895 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1854, allocations: 11.94 kB / 0.5896 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.1854, allocations: 0 / 0.5896 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1856, allocations: 89.55 kB / 0.5896 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1856, allocations: 0 / 0.5896 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1856, allocations: 4 kB / 0.5896 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1856, allocations: 4 kB / 0.5896 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.1857, allocations: 75.95 kB / 0.5897 GB, free: 3.129 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.1862, allocations: 312.7 kB / 0.59 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.1863, allocations: 42.5 kB / 0.5901 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.1864, allocations: 32.92 kB / 0.5901 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003473/0.1899, allocations: 1.842 MB / 0.5919 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1899, allocations: 38.56 kB / 0.5919 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1899, allocations: 0 / 0.5919 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003088/0.1902, allocations: 105.7 kB / 0.592 GB, free: 440 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1902, allocations: 51.41 kB / 0.5921 GB, free: 376 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/0.1903, allocations: 101.8 kB / 0.5922 GB, free: 264 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1903, allocations: 25.7 kB / 0.5922 GB, free: 232 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.1904, allocations: 88.03 kB / 0.5923 GB, free: 140 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.1904, allocations: 31.73 kB / 0.5923 GB, free: 108 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.1905, allocations: 25.72 kB / 0.5923 GB, free: 76 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2343/0.4248, allocations: 319.5 kB / 0.5926 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.4249, allocations: 17.48 kB / 0.5927 GB, free: 33.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-05/0.425, allocations: 36.23 kB / 0.5927 GB, free: 33.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.4251, allocations: 64.42 kB / 0.5928 GB, free: 33.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4251, allocations: 0 / 0.5928 GB, free: 33.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002153/0.4253, allocations: 95.34 kB / 0.5928 GB, free: 33.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.4253, allocations: 7.953 kB / 0.5929 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4254, allocations: 0.9062 kB / 0.5929 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.4254, allocations: 1.781 kB / 0.5929 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.4255, allocations: 12.52 kB / 0.5929 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4255, allocations: 3.75 kB / 0.5929 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.4255, allocations: 15.33 kB / 0.5929 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.4255, allocations: 4.375 kB / 0.5929 GB, free: 33.17 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 (6): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 6.754e-05/0.4256, allocations: 112.5 kB / 0.593 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.4256, allocations: 10.55 kB / 0.593 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.4259, allocations: 152.8 kB / 0.5932 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001388/0.4261, allocations: 116.5 kB / 0.5933 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4261, allocations: 5.938 kB / 0.5933 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4261, allocations: 4.109 kB / 0.5933 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.4265, allocations: 433.1 kB / 0.5937 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4265, allocations: 1.125 kB / 0.5937 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.4266, allocations: 16.44 kB / 0.5937 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4266, allocations: 1.875 kB / 0.5937 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.4266, allocations: 2.859 kB / 0.5937 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4266, allocations: 0 / 0.5937 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4266, allocations: 5.531 kB / 0.5937 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.4268, allocations: 225.8 kB / 0.5939 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.4269, allocations: 84.72 kB / 0.594 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.4269, allocations: 4.188 kB / 0.594 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.4269, allocations: 1.922 kB / 0.594 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.427, allocations: 5.469 kB / 0.594 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.427, allocations: 11.19 kB / 0.594 GB, free: 32.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.635e-05/0.427, allocations: 81.59 kB / 0.5941 GB, free: 32.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.427, allocations: 0 / 0.5941 GB, free: 32.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002419/0.4294, allocations: 363.1 kB / 0.5945 GB, free: 32.37 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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.01338/0.4428, allocations: 4.751 MB / 0.5991 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.4431, allocations: 103.7 kB / 0.5992 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4431, allocations: 0.6875 kB / 0.5992 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.84e-05/0.4432, allocations: 45.66 kB / 0.5992 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.4436, allocations: 43.09 kB / 0.5993 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.4451, allocations: 414 kB / 0.5997 GB, free: 29.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.4452, allocations: 0.6927 MB / 0.6003 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.924e-05/0.4453, allocations: 19.22 kB / 0.6004 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.4453, allocations: 28.2 kB / 0.6004 GB, free: 28.85 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4453, allocations: 1.375 kB / 0.6004 GB, free: 28.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04838/0.4937, allocations: 20.1 MB / 0.62 GB, free: 22.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.321/9.815, allocations: 6.406 kB / 0.62 GB, free: 22.46 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 62.93109872896457] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 9.96743305400014 9.977920393 9.794111223 Calling exit ...