Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.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.001752/0.001752, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.002314/0.002314, allocations: 216.6 kB / 23 MB, free: 5.582 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.419/1.419, allocations: 230.2 MB / 256.2 MB, free: 8.562 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.2268/0.2268, allocations: 46.89 MB / 359.4 MB, free: 4.902 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.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir",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.002286/0.002286, allocations: 83.86 kB / 0.4942 GB, free: 8.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3219, allocations: 65.99 MB / 0.5586 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1746/0.4965, allocations: 139.4 MB / 0.6948 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005954/0.5024, allocations: 4.75 MB / 0.6994 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.5026, allocations: 4 kB / 0.6994 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.503, allocations: 55.59 kB / 0.6995 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.5051, allocations: 0.7423 MB / 0.7002 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.5055, allocations: 151.2 kB / 0.7003 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006681/0.5062, allocations: 382.1 kB / 0.7007 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.59e-05/0.5063, allocations: 9.688 kB / 0.7007 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.5066, allocations: 155.4 kB / 0.7009 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.5069, allocations: 199.3 kB / 0.7011 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.5069, allocations: 8 kB / 0.7011 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.5084, allocations: 0.7097 MB / 0.7018 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.665e-05/0.5085, allocations: 47.81 kB / 0.7018 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.5086, allocations: 111.5 kB / 0.7019 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.5099, allocations: 480.3 kB / 0.7024 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5099, allocations: 4 kB / 0.7024 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5099, allocations: 0 / 0.7024 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.5099, allocations: 0 / 0.7024 GB, free: 1.375 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.00133/0.5112, allocations: 0.6116 MB / 0.703 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5113, allocations: 12.02 kB / 0.703 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.805e-05/0.5114, allocations: 66.61 kB / 0.703 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.5115, allocations: 24.84 kB / 0.7031 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.5119, allocations: 224.1 kB / 0.7033 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.5121, allocations: 127.9 kB / 0.7034 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.5121, allocations: 32.11 kB / 0.7034 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.5127, allocations: 322.8 kB / 0.7037 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5127, allocations: 0 / 0.7037 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.5127, allocations: 12 kB / 0.7037 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.5127, allocations: 8 kB / 0.7038 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008624/0.5136, allocations: 0.7352 MB / 0.7045 GB, free: 15.07 MB / 0.545 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.001358/0.515, allocations: 1.226 MB / 0.7057 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.5154, allocations: 163.7 kB / 0.7058 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.5155, allocations: 85.47 kB / 0.7059 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002581/0.5181, allocations: 2.703 MB / 0.7085 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.5181, allocations: 34.5 kB / 0.7086 GB, free: 10.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.5181, allocations: 0 / 0.7086 GB, free: 10.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006583/0.5188, allocations: 220.5 kB / 0.7088 GB, free: 10 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.5188, allocations: 59.34 kB / 0.7088 GB, free: 9.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.519, allocations: 216.1 kB / 0.7091 GB, free: 9.711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.519, allocations: 25.7 kB / 0.7091 GB, free: 9.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.5192, allocations: 227.5 kB / 0.7093 GB, free: 9.453 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.5192, allocations: 51.62 kB / 0.7093 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.5193, allocations: 90.03 kB / 0.7094 GB, free: 9.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5195, allocations: 330.8 kB / 0.7097 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.5196, allocations: 48.84 kB / 0.7098 GB, free: 8.926 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.5199, allocations: 321.2 kB / 0.7101 GB, free: 8.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.5204, allocations: 420.3 kB / 0.7105 GB, free: 7.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.5204, allocations: 4 kB / 0.7105 GB, free: 7.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005953/0.521, allocations: 373.4 kB / 0.7109 GB, free: 7.566 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.521, allocations: 15.94 kB / 0.7109 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.521, allocations: 11.98 kB / 0.7109 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.5211, allocations: 15.94 kB / 0.7109 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.5214, allocations: 111.8 kB / 0.711 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.5214, allocations: 19.92 kB / 0.711 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.5216, allocations: 16.34 kB / 0.711 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.5217, allocations: 32 kB / 0.7111 GB, free: 7.348 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001363/0.5218, allocations: 153.5 kB / 0.7112 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.5219, allocations: 19.91 kB / 0.7112 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.5222, allocations: 159.8 kB / 0.7114 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.5222, allocations: 4 kB / 0.7114 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5222, allocations: 0 / 0.7114 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5222, allocations: 0 / 0.7114 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.5228, allocations: 432.1 kB / 0.7118 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.5228, allocations: 3.984 kB / 0.7118 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.5229, allocations: 27.98 kB / 0.7118 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5229, allocations: 4 kB / 0.7118 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.5229, allocations: 4.062 kB / 0.7118 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.5229, allocations: 4 kB / 0.7118 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5229, allocations: 3.938 kB / 0.7119 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.5232, allocations: 225 kB / 0.7121 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.984e-05/0.5233, allocations: 101 kB / 0.7122 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.5233, allocations: 11.95 kB / 0.7122 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.5235, allocations: 8 kB / 0.7122 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.5235, allocations: 7.984 kB / 0.7122 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.5236, allocations: 15.98 kB / 0.7122 GB, free: 6.062 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001295/0.5237, allocations: 144.5 kB / 0.7123 GB, free: 5.922 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5237, allocations: 0 / 0.7123 GB, free: 5.922 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004995/0.5242, allocations: 99.86 kB / 0.7124 GB, free: 5.824 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0007451/0.5249, allocations: 0.8114 MB / 0.7132 GB, free: 4.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.5253, allocations: 185.2 kB / 0.7134 GB, free: 4.805 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5253, allocations: 0 / 0.7134 GB, free: 4.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.801e-05/0.5253, allocations: 35.86 kB / 0.7134 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.5257, allocations: 48.61 kB / 0.7135 GB, free: 4.723 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.5288, allocations: 2.731 MB / 0.7162 GB, free: 1.633 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.5291, allocations: 0.7285 MB / 0.7169 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.5293, allocations: 54.92 kB / 0.7169 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.5294, allocations: 63.41 kB / 0.717 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.5294, allocations: 0 / 0.717 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.5573, allocations: 5.372 MB / 0.7222 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.64, allocations: 4.062 kB / 0.7222 GB, free: 11.47 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.7059622759989] 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.714660313999048 9.004951198 8.491674877 Calling exit ...