Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.001254/0.001254, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 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.002056/0.002056, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 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 1.446/1.446, allocations: 230.4 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2892/0.2892, allocations: 46.92 MB / 357.7 MB, free: 10.18 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-beta.om/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_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 83.86 kB / 0.4917 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1344, allocations: 66.04 MB / 0.5562 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01403/0.1484, allocations: 11.33 MB / 0.5673 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.1628, allocations: 11.82 MB / 0.5788 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.163, allocations: 0 / 0.5788 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1633, allocations: 71.5 kB / 0.5789 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009732/0.1731, allocations: 3.128 MB / 0.5819 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.1735, allocations: 151.2 kB / 0.5821 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005937/0.1794, allocations: 3.912 MB / 0.5859 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.689e-05/0.1795, allocations: 16.39 kB / 0.5859 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.1797, allocations: 147.5 kB / 0.5861 GB, free: 6.793 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2912/0.4709, allocations: 7.153 MB / 0.593 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.481e-05/0.471, allocations: 13.56 kB / 0.5931 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005327/0.4763, allocations: 2.155 MB / 0.5952 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.4764, allocations: 42.53 kB / 0.5952 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.4766, allocations: 125.9 kB / 0.5953 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004085/0.4807, allocations: 1.543 MB / 0.5968 GB, free: 16.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4807, allocations: 0 / 0.5968 GB, free: 16.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4807, allocations: 0.9688 kB / 0.5968 GB, free: 16.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.4807, allocations: 0 / 0.5968 GB, free: 16.2 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002443/0.4832, allocations: 0.9472 MB / 0.5978 GB, free: 15.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4832, allocations: 9.312 kB / 0.5978 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.512e-05/0.4833, allocations: 63.47 kB / 0.5978 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006163/0.4839, allocations: 77.8 kB / 0.5979 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.4843, allocations: 252.5 kB / 0.5981 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.4843, allocations: 24.72 kB / 0.5982 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.4843, allocations: 25.12 kB / 0.5982 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.4854, allocations: 485.5 kB / 0.5986 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.4854, allocations: 0 / 0.5986 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.4855, allocations: 13.59 kB / 0.5987 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.4855, allocations: 8.047 kB / 0.5987 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.4867, allocations: 0.6849 MB / 0.5993 GB, free: 15.25 MB / 446.1 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.00739/0.4941, allocations: 4.301 MB / 0.6035 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/0.4948, allocations: 156.8 kB / 0.6037 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.4949, allocations: 56.45 kB / 0.6037 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02701/0.5219, allocations: 16.4 MB / 0.6198 GB, free: 16.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006901/0.5226, allocations: 320.7 kB / 0.6201 GB, free: 16.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.454e-06/0.5226, allocations: 2.031 kB / 0.6201 GB, free: 16.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001357/0.5239, allocations: 434.1 kB / 0.6205 GB, free: 16.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002745/0.5242, allocations: 484.6 kB / 0.6209 GB, free: 16.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.5244, allocations: 189.2 kB / 0.6211 GB, free: 16.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.5244, allocations: 35.14 kB / 0.6212 GB, free: 15.99 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.895e-05/0.5245, allocations: 190.6 kB / 0.6213 GB, free: 15.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.5246, allocations: 105.7 kB / 0.6214 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.5247, allocations: 92.17 kB / 0.6215 GB, free: 15.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5249, allocations: 334.9 kB / 0.6218 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.525, allocations: 65.86 kB / 0.6219 GB, free: 15.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.5252, allocations: 312.1 kB / 0.6222 GB, free: 15.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.5256, allocations: 419.1 kB / 0.6226 GB, free: 14.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.5256, allocations: 2.312 kB / 0.6226 GB, free: 14.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006321/0.5262, allocations: 403.4 kB / 0.623 GB, free: 14.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5262, allocations: 11.12 kB / 0.623 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.5263, allocations: 8.656 kB / 0.623 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.5263, allocations: 14.7 kB / 0.623 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.5266, allocations: 104.7 kB / 0.6231 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.2e-05/0.5266, allocations: 19.72 kB / 0.6231 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.5269, allocations: 53.8 kB / 0.6232 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.527, allocations: 31.55 kB / 0.6232 GB, free: 14.71 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001672/0.5271, allocations: 157.6 kB / 0.6234 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.611e-05/0.5272, allocations: 22.22 kB / 0.6234 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009036/0.5281, allocations: 0.7853 MB / 0.6242 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.5281, allocations: 5.188 kB / 0.6242 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.5281, allocations: 4.609 kB / 0.6242 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.5281, allocations: 12.39 kB / 0.6242 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.5294, allocations: 1.216 MB / 0.6254 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.5294, allocations: 6.188 kB / 0.6254 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.5295, allocations: 33.03 kB / 0.6254 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.5295, allocations: 6.5 kB / 0.6254 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.5295, allocations: 12.84 kB / 0.6254 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.5295, allocations: 9.172 kB / 0.6254 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5295, allocations: 2.344 kB / 0.6254 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.5299, allocations: 374.2 kB / 0.6258 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.53, allocations: 104.3 kB / 0.6259 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.5301, allocations: 48.83 kB / 0.6259 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.5303, allocations: 19.66 kB / 0.626 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.5303, allocations: 24.59 kB / 0.626 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.5304, allocations: 8.312 kB / 0.626 GB, free: 13.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003173/0.5307, allocations: 293.4 kB / 0.6263 GB, free: 13.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5307, allocations: 0 / 0.6263 GB, free: 13.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00189/0.5326, allocations: 428.4 kB / 0.6267 GB, free: 13.04 MB / 462.1 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 (19): * Single equations (assignments): 18 * 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.00237/0.5349, allocations: 1.442 MB / 0.6281 GB, free: 12.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004743/0.5354, allocations: 232.2 kB / 0.6283 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5354, allocations: 1.875 kB / 0.6283 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.53e-05/0.5355, allocations: 75.64 kB / 0.6284 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.5363, allocations: 122.1 kB / 0.6285 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.3/1.836, allocations: 0.582 GB / 1.211 GB, free: 128.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/1.836, allocations: 0.8106 MB / 1.211 GB, free: 127.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000402/1.837, allocations: 161.5 kB / 1.211 GB, free: 127.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/1.837, allocations: 155.4 kB / 1.212 GB, free: 127.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.223e-06/1.837, allocations: 0 / 1.212 GB, free: 127.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04726/1.884, allocations: 18.43 MB / 1.23 GB, free: 108.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.058/10.94, allocations: 12.56 kB / 1.23 GB, free: 108.9 MB / 0.6387 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_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_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.069839863106608] 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'] 11.020589902997017 11.030790139 10.547722422 Calling exit ...