Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.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.001185/0.001185, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009105/0.0009105, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8961/0.8961, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2478/0.2478, allocations: 34.23 MB / 294.8 MB, free: 0.6914 MB / 266.7 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.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.462e-05, allocations: 6.219 kB / 442.2 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.297/0.297, allocations: 132 MB / 0.5608 GB, free: 12.46 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.3011, allocations: 4.768 MB / 0.5654 GB, free: 7.684 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.3012, allocations: 0 / 0.5654 GB, free: 7.684 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.3015, allocations: 47.67 kB / 0.5655 GB, free: 7.637 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.3047, allocations: 1.353 MB / 0.5668 GB, free: 6.277 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.3049, allocations: 144.4 kB / 0.5669 GB, free: 6.145 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005167/0.3055, allocations: 413.8 kB / 0.5673 GB, free: 5.738 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.3055, allocations: 5.812 kB / 0.5673 GB, free: 5.734 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.3058, allocations: 227.3 kB / 0.5675 GB, free: 5.512 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.306, allocations: 163.6 kB / 0.5677 GB, free: 5.352 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.3061, allocations: 8 kB / 0.5677 GB, free: 5.344 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.3076, allocations: 0.9744 MB / 0.5686 GB, free: 4.367 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.3077, allocations: 47.75 kB / 0.5687 GB, free: 4.32 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.3078, allocations: 75.84 kB / 0.5688 GB, free: 4.246 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.309, allocations: 0.9586 MB / 0.5697 GB, free: 3.285 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.309, allocations: 0 / 0.5697 GB, free: 3.285 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.309, allocations: 7 kB / 0.5697 GB, free: 3.281 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.309, allocations: 0 / 0.5697 GB, free: 3.281 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001021/0.31, allocations: 0.6183 MB / 0.5703 GB, free: 2.637 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.31, allocations: 12.02 kB / 0.5703 GB, free: 2.625 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.3101, allocations: 58.73 kB / 0.5704 GB, free: 2.559 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003752/0.3138, allocations: 0.6384 MB / 0.571 GB, free: 1.926 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.3143, allocations: 205.4 kB / 0.5712 GB, free: 1.699 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.3144, allocations: 226.1 kB / 0.5714 GB, free: 1.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.18e-05/0.3145, allocations: 31.88 kB / 0.5714 GB, free: 1.398 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008318/0.3153, allocations: 0.7423 MB / 0.5722 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3153, allocations: 0 / 0.5722 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.224e-05/0.3154, allocations: 15.98 kB / 0.5722 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.3154, allocations: 8 kB / 0.5722 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009166/0.3163, allocations: 0.6223 MB / 0.5728 GB, free: 15.93 MB / 490.7 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.001455/0.3178, allocations: 1.441 MB / 0.5742 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.318, allocations: 142.6 kB / 0.5743 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.3181, allocations: 68.83 kB / 0.5744 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006497/0.3188, allocations: 471.3 kB / 0.5749 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.3188, allocations: 41.19 kB / 0.5749 GB, free: 13.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.3188, allocations: 0 / 0.5749 GB, free: 13.67 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.001109/0.3199, allocations: 326.5 kB / 0.5752 GB, free: 13.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3199, allocations: 59.41 kB / 0.5753 GB, free: 13.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.3201, allocations: 207 kB / 0.5755 GB, free: 13.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.3202, allocations: 33.7 kB / 0.5755 GB, free: 13.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3203, allocations: 187.8 kB / 0.5757 GB, free: 12.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.3203, allocations: 67.44 kB / 0.5757 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.3204, allocations: 94 kB / 0.5758 GB, free: 12.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3205, allocations: 330.8 kB / 0.5761 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3207, allocations: 64.7 kB / 0.5762 GB, free: 12.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.3209, allocations: 264.5 kB / 0.5765 GB, free: 11.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007845/0.3217, allocations: 371 kB / 0.5768 GB, free: 11.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3217, allocations: 4 kB / 0.5768 GB, free: 11.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004246/0.3222, allocations: 372.2 kB / 0.5772 GB, free: 11.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3222, allocations: 9.25 kB / 0.5772 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3222, allocations: 4.875 kB / 0.5772 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3222, allocations: 12 kB / 0.5772 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.3225, allocations: 127.8 kB / 0.5773 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002841/0.3228, allocations: 0.6094 MB / 0.5779 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3229, allocations: 43.62 kB / 0.578 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.3229, allocations: 44.92 kB / 0.578 GB, free: 10.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.3231, allocations: 141.7 kB / 0.5781 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.3231, allocations: 19.91 kB / 0.5782 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005615/0.3237, allocations: 463.8 kB / 0.5786 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3237, allocations: 3.938 kB / 0.5786 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3237, allocations: 0 / 0.5786 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3237, allocations: 0 / 0.5786 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.3243, allocations: 0.5352 MB / 0.5791 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3243, allocations: 4 kB / 0.5791 GB, free: 8.992 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.3244, allocations: 55.91 kB / 0.5792 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3244, allocations: 4 kB / 0.5792 GB, free: 8.934 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.3244, allocations: 11.98 kB / 0.5792 GB, free: 8.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002302/0.3246, allocations: 0.5899 MB / 0.5798 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3246, allocations: 17.45 kB / 0.5798 GB, free: 8.293 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.3251, allocations: 290.5 kB / 0.5801 GB, free: 7.969 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.3252, allocations: 27.83 kB / 0.5801 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.3252, allocations: 11.98 kB / 0.5801 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3254, allocations: 19.88 kB / 0.5801 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.3254, allocations: 19.91 kB / 0.5801 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.3254, allocations: 19.98 kB / 0.5802 GB, free: 7.871 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.108e-05/0.3255, allocations: 135 kB / 0.5803 GB, free: 7.738 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3255, allocations: 0 / 0.5803 GB, free: 7.738 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005085/0.326, allocations: 171.6 kB / 0.5804 GB, free: 7.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008227/0.3269, allocations: 0.9952 MB / 0.5814 GB, free: 6.527 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.3273, allocations: 230.1 kB / 0.5816 GB, free: 6.305 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3273, allocations: 5.875 kB / 0.5816 GB, free: 6.301 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.3274, allocations: 79.83 kB / 0.5817 GB, free: 6.223 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3278, allocations: 61.06 kB / 0.5818 GB, free: 6.168 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.3307, allocations: 3.015 MB / 0.5847 GB, free: 2.844 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.3308, allocations: 112.6 kB / 0.5848 GB, free: 2.715 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004947/0.3313, allocations: 374.2 kB / 0.5852 GB, free: 2.352 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.3315, allocations: 92.42 kB / 0.5853 GB, free: 2.258 MB / 490.7 MB Notification: Performance of SimCode: time 1.873e-06/0.3315, allocations: 3.938 kB / 0.5853 GB, free: 2.254 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.3533, allocations: 8.793 MB / 0.5939 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.159, allocations: 0 / 0.5939 GB, free: 9.652 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.2753972299397] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is', 'eps'] 8.251833855174482 8.263950213 7.953202577 Calling exit ...