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.0008024/0.0008024, allocations: 92.31 kB / 20.95 MB, free: 3.598 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.0008203/0.0008203, allocations: 160.9 kB / 24.26 MB, free: 296 kB / 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.8828/0.8828, allocations: 177 MB / 204.5 MB, free: 5.617 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.2431/0.2431, allocations: 34.24 MB / 295.2 MB, free: 0.6641 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.875e-06/2.875e-06, allocations: 3.984 kB / 376.7 MB, free: 3.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.155e-05, allocations: 2.312 kB / 376.7 MB, free: 3.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.008832/0.008854, allocations: 10.16 MB / 386.9 MB, free: 9.172 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007042/0.0159, allocations: 10.3 MB / 397.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.01603, allocations: 8 kB / 397.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.0163, allocations: 63.47 kB / 397.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006704/0.02301, allocations: 3.181 MB / 400.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.02331, allocations: 155.7 kB / 400.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003736/0.02704, allocations: 4.006 MB / 404.6 MB, free: 7.406 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.687e-05/0.02711, allocations: 12.59 kB / 404.6 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.02733, allocations: 199.4 kB / 404.8 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006065/0.03339, allocations: 7.289 MB / 412.1 MB, free: 15.9 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.03346, allocations: 8 kB / 412.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004051/0.03751, allocations: 2.286 MB / 414.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.03759, allocations: 39.77 kB / 414.4 MB, free: 13.56 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.03771, allocations: 87.84 kB / 414.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003388/0.0411, allocations: 1.999 MB / 416.5 MB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.04111, allocations: 0 / 416.5 MB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.04111, allocations: 0 / 416.5 MB, free: 11.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.04112, allocations: 0 / 416.5 MB, free: 11.47 MB / 394.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.001483/0.0426, allocations: 0.9048 MB / 417.4 MB, free: 10.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.04264, allocations: 8.031 kB / 417.4 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.04269, allocations: 66.73 kB / 417.5 MB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004457/0.04314, allocations: 148.3 kB / 417.6 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.04341, allocations: 189.4 kB / 417.8 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.04343, allocations: 21.03 kB / 417.8 MB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.04345, allocations: 28.38 kB / 417.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.04407, allocations: 0.5298 MB / 418.4 MB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.04408, allocations: 192 / 418.4 MB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.04411, allocations: 19.94 kB / 418.4 MB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.04412, allocations: 8 kB / 418.4 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006543/0.04477, allocations: 0.681 MB / 419.1 MB, free: 8.766 MB / 394.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.003618/0.04839, allocations: 2.611 MB / 421.7 MB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.0488, allocations: 206.7 kB / 421.9 MB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.563e-05/0.04887, allocations: 65.39 kB / 422 MB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.179/0.2279, allocations: 22.25 MB / 444.2 MB, free: 106.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005171/0.2284, allocations: 343.1 kB / 444.6 MB, free: 105.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.875e-06/0.2284, allocations: 3.969 kB / 444.6 MB, free: 105.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001698/0.2301, allocations: 0.9153 MB / 445.5 MB, free: 105.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.2302, allocations: 486.2 kB / 446 MB, free: 105.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2303, allocations: 167 kB / 446.1 MB, free: 105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2303, allocations: 32.58 kB / 446.2 MB, free: 104.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.2303, allocations: 166.2 kB / 446.3 MB, free: 104.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.2304, allocations: 132.9 kB / 446.5 MB, free: 104.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.2305, allocations: 93.48 kB / 446.5 MB, free: 104.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.2305, allocations: 328.3 kB / 446.9 MB, free: 104.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.2306, allocations: 69.8 kB / 446.9 MB, free: 104.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.2307, allocations: 309.3 kB / 447.2 MB, free: 104.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.231, allocations: 442.7 kB / 447.7 MB, free: 103.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.231, allocations: 2.969 kB / 447.7 MB, free: 103.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004676/0.2315, allocations: 423.1 kB / 448.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2315, allocations: 13 kB / 448.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.2315, allocations: 10.75 kB / 448.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.2316, allocations: 11.62 kB / 448.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.2326, allocations: 348.5 kB / 448.5 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003729/0.2329, allocations: 1.188 MB / 449.6 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.2331, allocations: 18.94 kB / 449.7 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.2332, allocations: 33.34 kB / 449.7 MB, free: 102.4 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 0.0001254/0.2333, allocations: 155.1 kB / 449.8 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.2333, allocations: 47.23 kB / 449.9 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/0.2341, allocations: 1 MB / 450.9 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.2341, allocations: 5.719 kB / 450.9 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.2341, allocations: 2.938 kB / 450.9 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.2342, allocations: 5.969 kB / 450.9 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008911/0.235, allocations: 1.115 MB / 452 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.2351, allocations: 2.781 kB / 452 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/0.2356, allocations: 143.1 kB / 452.2 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2356, allocations: 5.906 kB / 452.2 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.2356, allocations: 15.41 kB / 452.2 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001309/0.2358, allocations: 0.5876 MB / 452.8 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2358, allocations: 6.719 kB / 452.8 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.2361, allocations: 0.531 MB / 453.3 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.2362, allocations: 29.12 kB / 453.3 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.2362, allocations: 47.42 kB / 453.4 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.2364, allocations: 12.89 kB / 453.4 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.2364, allocations: 29.16 kB / 453.4 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.2364, allocations: 15.66 kB / 453.4 MB, free: 100.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.2366, allocations: 272.6 kB / 453.7 MB, free: 100 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2366, allocations: 0 / 453.7 MB, free: 100 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001071/0.2377, allocations: 470.7 kB / 454.2 MB, free: 99.93 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.001564/0.2392, allocations: 1.723 MB / 455.9 MB, free: 98.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008642/0.2401, allocations: 389.6 kB / 456.3 MB, free: 98.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2401, allocations: 2.812 kB / 456.3 MB, free: 98.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.2405, allocations: 208.7 kB / 456.5 MB, free: 98.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.241, allocations: 122.5 kB / 456.6 MB, free: 98.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.765/1.006, allocations: 0.54 GB / 0.9859 GB, free: 95.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/1.006, allocations: 223.6 kB / 0.9861 GB, free: 94.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003328/1.006, allocations: 169.6 kB / 0.9863 GB, free: 94.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/1.007, allocations: 156.4 kB / 0.9865 GB, free: 94.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.893e-06/1.007, allocations: 4 kB / 0.9865 GB, free: 94.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/1.04, allocations: 21.46 MB / 1.007 GB, free: 73.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/9.329, allocations: 11.64 kB / 1.007 GB, free: 73.41 MB / 442.7 MB " [Timeout remaining time 651] (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.264395073987544] 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.424563066102564 9.433019871 9.390458096 Calling exit ...