Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.001692/0.001692, allocations: 107.9 kB / 20.48 MB, free: 1.125 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.002064/0.002064, allocations: 210.7 kB / 23.77 MB, free: 4.332 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.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] 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.2285/0.2285, allocations: 46.95 MB / 360.9 MB, free: 3.902 MB / 286.1 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.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 76.2 kB / 0.4962 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3217, allocations: 66.08 MB / 0.5608 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1662/0.4878, allocations: 132 MB / 0.6897 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006145/0.494, allocations: 4.621 MB / 0.6942 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.4942, allocations: 4 kB / 0.6942 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.4944, allocations: 43.62 kB / 0.6942 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.4981, allocations: 1.226 MB / 0.6954 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.4985, allocations: 138.6 kB / 0.6956 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006855/0.4992, allocations: 402.1 kB / 0.6959 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.4993, allocations: 5.812 kB / 0.696 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.4997, allocations: 183.3 kB / 0.6961 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.5, allocations: 167.5 kB / 0.6963 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.5001, allocations: 8 kB / 0.6963 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.5022, allocations: 0.9434 MB / 0.6972 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.858e-05/0.5023, allocations: 43.83 kB / 0.6973 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.5025, allocations: 95.58 kB / 0.6973 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.5043, allocations: 0.8454 MB / 0.6982 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5043, allocations: 8 kB / 0.6982 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5043, allocations: 0 / 0.6982 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.5043, allocations: 0 / 0.6982 GB, free: 6.758 MB / 0.5294 GB 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.001507/0.5058, allocations: 0.6099 MB / 0.6988 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5059, allocations: 12.03 kB / 0.6988 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.82e-05/0.5059, allocations: 66.72 kB / 0.6989 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007952/0.5139, allocations: 0.6367 MB / 0.6995 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.5145, allocations: 213.3 kB / 0.6997 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.5147, allocations: 230.1 kB / 0.6999 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.5148, allocations: 24 kB / 0.6999 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.5161, allocations: 0.7422 MB / 0.7006 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5161, allocations: 4 kB / 0.7006 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/0.5162, allocations: 12 kB / 0.7007 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.5162, allocations: 4 kB / 0.7007 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.5177, allocations: 0.6182 MB / 0.7013 GB, free: 3.402 MB / 0.5294 GB 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.002206/0.5199, allocations: 1.443 MB / 0.7027 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.5202, allocations: 145.6 kB / 0.7028 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.5204, allocations: 72.86 kB / 0.7029 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005887/0.521, allocations: 380 kB / 0.7032 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.521, allocations: 34.56 kB / 0.7033 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.521, allocations: 0 / 0.7033 GB, free: 1.211 MB / 0.5294 GB 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=17): time 0.001061/0.5221, allocations: 325.3 kB / 0.7036 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.5221, allocations: 51.41 kB / 0.7036 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.5223, allocations: 207 kB / 0.7038 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.5224, allocations: 33.64 kB / 0.7039 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.5225, allocations: 199.6 kB / 0.7041 GB, free: 384 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.5226, allocations: 71.45 kB / 0.7041 GB, free: 312 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.5227, allocations: 102 kB / 0.7042 GB, free: 204 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.5229, allocations: 326.8 kB / 0.7045 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.5231, allocations: 60.7 kB / 0.7046 GB, free: 15.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.5234, allocations: 260.1 kB / 0.7048 GB, free: 15.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005334/0.5239, allocations: 368.5 kB / 0.7052 GB, free: 15.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.5239, allocations: 4 kB / 0.7052 GB, free: 15.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007194/0.5246, allocations: 372.8 kB / 0.7056 GB, free: 14.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.5247, allocations: 13.81 kB / 0.7056 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.5247, allocations: 8.844 kB / 0.7056 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.5247, allocations: 8 kB / 0.7056 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.5251, allocations: 135.9 kB / 0.7057 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004541/0.5256, allocations: 0.5977 MB / 0.7063 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.5259, allocations: 43.67 kB / 0.7063 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.5259, allocations: 43.98 kB / 0.7064 GB, free: 13.77 MB / 0.545 GB 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.0001658/0.5261, allocations: 145.6 kB / 0.7065 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.5262, allocations: 23.86 kB / 0.7065 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008521/0.527, allocations: 435.5 kB / 0.707 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.527, allocations: 8 kB / 0.707 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.527, allocations: 0 / 0.707 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.527, allocations: 3.984 kB / 0.707 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009295/0.528, allocations: 0.5113 MB / 0.7075 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.528, allocations: 0 / 0.7075 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.5282, allocations: 63.89 kB / 0.7075 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.5282, allocations: 4 kB / 0.7075 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.5282, allocations: 12.16 kB / 0.7075 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003907/0.5286, allocations: 0.5938 MB / 0.7081 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.5286, allocations: 7.969 kB / 0.7081 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.529, allocations: 285.3 kB / 0.7084 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.5291, allocations: 39.75 kB / 0.7084 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.5292, allocations: 8 kB / 0.7084 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.5294, allocations: 7.984 kB / 0.7085 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.5295, allocations: 24.02 kB / 0.7085 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.5295, allocations: 23.92 kB / 0.7085 GB, free: 11.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001439/0.5296, allocations: 140.2 kB / 0.7086 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5296, allocations: 0 / 0.7086 GB, free: 11.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006613/0.5303, allocations: 151.7 kB / 0.7088 GB, free: 11.16 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.001128/0.5314, allocations: 0.9453 MB / 0.7097 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005368/0.532, allocations: 223 kB / 0.7099 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.532, allocations: 0 / 0.7099 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.5322, allocations: 85.33 kB / 0.71 GB, free: 9.867 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.5327, allocations: 74.97 kB / 0.7101 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.5368, allocations: 2.866 MB / 0.7129 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.537, allocations: 124.3 kB / 0.713 GB, free: 6.484 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007753/0.5378, allocations: 381 kB / 0.7134 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.538, allocations: 99.36 kB / 0.7134 GB, free: 6.016 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/0.538, allocations: 0 / 0.7134 GB, free: 6.016 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.578, allocations: 8.202 MB / 0.7215 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.02, allocations: 3.094 kB / 0.7215 GB, free: 13.96 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_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_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.220360649000213] 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'] 13.14009596500182 13.371999928 12.648825631 Calling exit ...