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.001733/0.001733, allocations: 112.2 kB / 21.22 MB, free: 0.7344 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.00214/0.00214, allocations: 208.4 kB / 24.52 MB, free: 4.141 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 / 258.3 MB, free: 7.988 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.2279/0.2279, allocations: 46.93 MB / 361.6 MB, free: 4.375 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.001958/0.001958, allocations: 63.91 kB / 0.4969 GB, free: 7.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2956, allocations: 66.02 MB / 0.5614 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.0125/0.3081, allocations: 8.487 MB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.3213, allocations: 11.27 MB / 0.5807 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.3214, allocations: 4 kB / 0.5807 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.3216, allocations: 39.81 kB / 0.5807 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.3267, allocations: 1.875 MB / 0.5826 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.241e-06/0.3267, allocations: 0 / 0.5826 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.3268, allocations: 51.61 kB / 0.5826 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.3268, allocations: 7.938 kB / 0.5826 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.3269, allocations: 31.84 kB / 0.5827 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.327, allocations: 11.94 kB / 0.5827 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.824e-06/0.327, allocations: 4 kB / 0.5827 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.3375, allocations: 6.756 MB / 0.5893 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.449e-05/0.3376, allocations: 7.984 kB / 0.5893 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.3376, allocations: 19.81 kB / 0.5893 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.3495, allocations: 5.088 MB / 0.5943 GB, free: 2.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3495, allocations: 0 / 0.5943 GB, free: 2.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3495, allocations: 0 / 0.5943 GB, free: 2.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.3495, allocations: 7.938 kB / 0.5943 GB, free: 2.727 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.003008/0.3525, allocations: 0.5036 MB / 0.5948 GB, free: 2.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3526, allocations: 12.02 kB / 0.5948 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.811e-05/0.3526, allocations: 4 kB / 0.5948 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.3526, allocations: 38.56 kB / 0.5948 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.3527, allocations: 8 kB / 0.5948 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3529, allocations: 113.2 kB / 0.5949 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3529, allocations: 3.938 kB / 0.5949 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.3529, allocations: 4 kB / 0.5949 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.3531, allocations: 85.59 kB / 0.595 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3531, allocations: 3.938 kB / 0.595 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3531, allocations: 4 kB / 0.595 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.3531, allocations: 4 kB / 0.595 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.3532, allocations: 75.97 kB / 0.5951 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.3537, allocations: 295.8 kB / 0.5954 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.307e-05/0.3538, allocations: 38.56 kB / 0.5954 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.3538, allocations: 24.95 kB / 0.5954 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002996/0.3568, allocations: 0.8037 MB / 0.5962 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.3569, allocations: 34.56 kB / 0.5963 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.3569, allocations: 0 / 0.5963 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003317/0.3572, allocations: 113.6 kB / 0.5964 GB, free: 440 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3573, allocations: 55.41 kB / 0.5964 GB, free: 372 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3574, allocations: 101.8 kB / 0.5965 GB, free: 260 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3574, allocations: 25.7 kB / 0.5965 GB, free: 228 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.3575, allocations: 92.02 kB / 0.5966 GB, free: 132 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.3575, allocations: 27.75 kB / 0.5967 GB, free: 104 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.3575, allocations: 25.7 kB / 0.5967 GB, free: 72 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3577, allocations: 318.8 kB / 0.597 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.883e-05/0.3578, allocations: 23.98 kB / 0.597 GB, free: 15.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.686e-05/0.3578, allocations: 33.72 kB / 0.597 GB, free: 15.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.358, allocations: 73.95 kB / 0.5971 GB, free: 15.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.358, allocations: 0 / 0.5971 GB, free: 15.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002234/0.3582, allocations: 97.58 kB / 0.5972 GB, free: 15.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3582, allocations: 4 kB / 0.5972 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3582, allocations: 192 / 0.5972 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3582, allocations: 0 / 0.5972 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.3583, allocations: 15.98 kB / 0.5972 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3583, allocations: 8.031 kB / 0.5972 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.3583, allocations: 0 / 0.5972 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.3584, allocations: 12.06 kB / 0.5972 GB, free: 15.47 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 0.0001078/0.3585, allocations: 109.8 kB / 0.5974 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.3585, allocations: 7.953 kB / 0.5974 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.3588, allocations: 153.6 kB / 0.5975 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001693/0.359, allocations: 117.7 kB / 0.5976 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.359, allocations: 4 kB / 0.5976 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.359, allocations: 0 / 0.5976 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.3596, allocations: 409.3 kB / 0.598 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3596, allocations: 0 / 0.598 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.3597, allocations: 15.98 kB / 0.598 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3597, allocations: 3.938 kB / 0.598 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.3597, allocations: 8 kB / 0.598 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3597, allocations: 0 / 0.598 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3597, allocations: 0 / 0.598 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.36, allocations: 227.4 kB / 0.5983 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.36, allocations: 15.86 kB / 0.5983 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.36, allocations: 0 / 0.5983 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.642e-05/0.3601, allocations: 4 kB / 0.5983 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.3601, allocations: 4 kB / 0.5983 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3601, allocations: 7.984 kB / 0.5983 GB, free: 14.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.31e-05/0.3601, allocations: 79.28 kB / 0.5984 GB, free: 14.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3601, allocations: 0 / 0.5984 GB, free: 14.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002267/0.3624, allocations: 366.9 kB / 0.5987 GB, free: 13.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: 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.01573/0.3781, allocations: 4.75 MB / 0.6034 GB, free: 9.102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.3785, allocations: 105.6 kB / 0.6035 GB, free: 8.992 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3785, allocations: 4.062 kB / 0.6035 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/0.3785, allocations: 39.98 kB / 0.6035 GB, free: 8.949 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.379, allocations: 39.95 kB / 0.6035 GB, free: 8.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.3812, allocations: 414.2 kB / 0.6039 GB, free: 8.461 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.3816, allocations: 0.6924 MB / 0.6046 GB, free: 7.742 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.985e-05/0.3816, allocations: 19.86 kB / 0.6046 GB, free: 7.723 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.3817, allocations: 27.38 kB / 0.6046 GB, free: 7.695 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3817, allocations: 0 / 0.6046 GB, free: 7.695 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.4292, allocations: 20.31 MB / 0.6245 GB, free: 3.488 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.59, allocations: 3.938 kB / 0.6245 GB, free: 3.484 MB / 462.1 MB " [Timeout remaining time 647] (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: 65.66077024501283] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 12.779677659040317 12.797381868 12.44256391 Calling exit ...