Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.0008115/0.0008115, 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.001277/0.001277, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9301/0.9301, 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.2523/0.2523, allocations: 34.24 MB / 294.8 MB, free: 0.6797 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.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.766e-05, allocations: 2.281 kB / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.2248/0.2248, allocations: 10.15 MB / 452.4 MB, free: 38.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006792/0.2316, allocations: 10.3 MB / 462.7 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.2317, allocations: 2.406 kB / 462.7 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.232, allocations: 64.88 kB / 462.7 MB, free: 31.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006469/0.2385, allocations: 3.173 MB / 465.9 MB, free: 29.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.2388, allocations: 161 kB / 466.1 MB, free: 29.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.242, allocations: 4.007 MB / 470.1 MB, free: 28.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.531e-05/0.242, allocations: 15.03 kB / 470.1 MB, free: 28.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.2422, allocations: 195.5 kB / 470.3 MB, free: 28.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005085/0.2473, allocations: 7.286 MB / 477.6 MB, free: 26.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.2473, allocations: 10.19 kB / 477.6 MB, free: 26.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.2507, allocations: 2.277 MB / 479.8 MB, free: 26.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.2507, allocations: 41.38 kB / 479.9 MB, free: 26.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.232e-05/0.2508, allocations: 95.55 kB / 480 MB, free: 26.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.2528, allocations: 1.99 MB / 482 MB, free: 25.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2528, allocations: 3.188 kB / 482 MB, free: 25.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.2528, allocations: 0 / 482 MB, free: 25.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2529, allocations: 5.031 kB / 482 MB, free: 25.45 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001474/0.2543, allocations: 0.9089 MB / 482.9 MB, free: 24.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.2544, allocations: 10.16 kB / 482.9 MB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.688e-05/0.2544, allocations: 67.08 kB / 483 MB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.2548, allocations: 83.31 kB / 483 MB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.2551, allocations: 183.8 kB / 483.2 MB, free: 24.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.2552, allocations: 19.88 kB / 483.2 MB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.2552, allocations: 25.41 kB / 483.3 MB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.2558, allocations: 0.5284 MB / 483.8 MB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2559, allocations: 1.438 kB / 483.8 MB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.2559, allocations: 18.95 kB / 483.8 MB, free: 24.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.2559, allocations: 6.75 kB / 483.8 MB, free: 24.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007545/0.2566, allocations: 0.6771 MB / 484.5 MB, free: 24.16 MB / 410.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.004068/0.2607, allocations: 2.603 MB / 487.1 MB, free: 22.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.2612, allocations: 209.4 kB / 487.3 MB, free: 22.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.855e-05/0.2613, allocations: 73.62 kB / 487.4 MB, free: 22.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0401/0.3014, allocations: 22.14 MB / 0.4976 GB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005509/0.3019, allocations: 343.9 kB / 0.4979 GB, free: 12.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.635e-06/0.3019, allocations: 0 / 0.4979 GB, free: 12.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001659/0.3036, allocations: 0.884 MB / 0.4988 GB, free: 12.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.3037, allocations: 486.7 kB / 0.4992 GB, free: 11.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3038, allocations: 162.4 kB / 0.4994 GB, free: 11.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3038, allocations: 29.7 kB / 0.4994 GB, free: 11.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.3039, allocations: 164.4 kB / 0.4996 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.3039, allocations: 134.8 kB / 0.4997 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/0.304, allocations: 90.14 kB / 0.4998 GB, free: 10.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.3041, allocations: 330.8 kB / 0.5001 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.3041, allocations: 60.97 kB / 0.5002 GB, free: 10.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.3043, allocations: 317.3 kB / 0.5005 GB, free: 10.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.3046, allocations: 445 kB / 0.5009 GB, free: 9.496 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3046, allocations: 4 kB / 0.5009 GB, free: 9.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004152/0.305, allocations: 404.5 kB / 0.5013 GB, free: 9.094 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3051, allocations: 8 kB / 0.5013 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3051, allocations: 18.61 kB / 0.5013 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.3051, allocations: 12 kB / 0.5013 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/0.306, allocations: 346.2 kB / 0.5016 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003234/0.3063, allocations: 1.184 MB / 0.5028 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3064, allocations: 19.95 kB / 0.5028 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.3065, allocations: 37.02 kB / 0.5028 GB, free: 7.438 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.3066, allocations: 157.6 kB / 0.503 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.3066, allocations: 27.89 kB / 0.503 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007122/0.3073, allocations: 1.005 MB / 0.504 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.3073, allocations: 10.05 kB / 0.504 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.3073, allocations: 4 kB / 0.504 GB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3073, allocations: 0 / 0.504 GB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.3081, allocations: 1.116 MB / 0.5051 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.3081, allocations: 3.938 kB / 0.5051 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/0.3086, allocations: 143.9 kB / 0.5053 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3086, allocations: 4 kB / 0.5053 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3086, allocations: 14.67 kB / 0.5053 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001135/0.3087, allocations: 0.586 MB / 0.5058 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3087, allocations: 4 kB / 0.5058 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.309, allocations: 0.5241 MB / 0.5064 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.309, allocations: 31.78 kB / 0.5064 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.3091, allocations: 51.66 kB / 0.5064 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3092, allocations: 15.98 kB / 0.5065 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.3092, allocations: 27.84 kB / 0.5065 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.3092, allocations: 12 kB / 0.5065 GB, free: 3.555 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.3094, allocations: 275.1 kB / 0.5068 GB, free: 3.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3094, allocations: 0 / 0.5068 GB, free: 3.289 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001025/0.3104, allocations: 466.6 kB / 0.5072 GB, free: 2.832 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001336/0.3118, allocations: 1.707 MB / 0.5089 GB, free: 1.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008559/0.3126, allocations: 395.3 kB / 0.5092 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3126, allocations: 0 / 0.5092 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.313, allocations: 197.2 kB / 0.5094 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.3134, allocations: 123.7 kB / 0.5095 GB, free: 380 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9871/1.301, allocations: 0.54 GB / 1.05 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/1.301, allocations: 226.2 kB / 1.05 GB, free: 158 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003084/1.301, allocations: 169.2 kB / 1.05 GB, free: 158 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/1.301, allocations: 161 kB / 1.05 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of SimCode: time 2.474e-06/1.301, allocations: 0 / 1.05 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0358/1.337, allocations: 21.39 MB / 1.071 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/9.673, allocations: 1.344 kB / 1.071 GB, free: 151.6 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.824591734446585] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eps', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is'] 9.775601084344089 9.788074785 9.532940429 Calling exit ...