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.001448/0.001448, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.001555/0.001555, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.502/1.502, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2337/0.2337, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.002387/0.002387, allocations: 75.88 kB / 0.4913 GB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1401, allocations: 65.98 MB / 0.5557 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4576/0.5977, allocations: 139.4 MB / 0.6918 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00595/0.6036, allocations: 4.734 MB / 0.6965 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.6038, allocations: 4 kB / 0.6965 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.6042, allocations: 55.59 kB / 0.6965 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.6064, allocations: 0.7345 MB / 0.6972 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.6069, allocations: 172.2 kB / 0.6974 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006284/0.6075, allocations: 370.2 kB / 0.6978 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.6075, allocations: 5.688 kB / 0.6978 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.6078, allocations: 167.4 kB / 0.6979 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.6081, allocations: 191.3 kB / 0.6981 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.6081, allocations: 11.94 kB / 0.6981 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.6097, allocations: 0.7058 MB / 0.6988 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.6098, allocations: 51.73 kB / 0.6989 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.6099, allocations: 103.6 kB / 0.699 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008707/0.6108, allocations: 481.3 kB / 0.6994 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6108, allocations: 4 kB / 0.6994 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6108, allocations: 3.938 kB / 0.6994 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.6108, allocations: 0 / 0.6994 GB, free: 14.84 MB / 0.5137 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.001155/0.612, allocations: 0.6077 MB / 0.7 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.612, allocations: 8.031 kB / 0.7 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.216e-05/0.6121, allocations: 66.72 kB / 0.7001 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.6122, allocations: 28.84 kB / 0.7001 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.6126, allocations: 232 kB / 0.7003 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.6128, allocations: 123.9 kB / 0.7005 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.6128, allocations: 20.38 kB / 0.7005 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.6133, allocations: 330.7 kB / 0.7008 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.6134, allocations: 0 / 0.7008 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.6134, allocations: 8 kB / 0.7008 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.6134, allocations: 4 kB / 0.7008 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008944/0.6143, allocations: 0.7469 MB / 0.7015 GB, free: 12.54 MB / 0.5137 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.001488/0.6158, allocations: 1.222 MB / 0.7027 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.6162, allocations: 159.8 kB / 0.7029 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.6163, allocations: 85.42 kB / 0.703 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002738/0.619, allocations: 2.703 MB / 0.7056 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.6191, allocations: 38.56 kB / 0.7056 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.6191, allocations: 0 / 0.7056 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006892/0.6198, allocations: 224.8 kB / 0.7058 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.6198, allocations: 51.41 kB / 0.7059 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.62, allocations: 220.1 kB / 0.7061 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.6201, allocations: 29.7 kB / 0.7061 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.6202, allocations: 223.5 kB / 0.7063 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.6203, allocations: 47.64 kB / 0.7064 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.6204, allocations: 90.02 kB / 0.7065 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.6206, allocations: 326.8 kB / 0.7068 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.666e-05/0.6206, allocations: 56.83 kB / 0.7068 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.621, allocations: 317.2 kB / 0.7071 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.6215, allocations: 424.3 kB / 0.7075 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6215, allocations: 4 kB / 0.7076 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005773/0.6221, allocations: 369.6 kB / 0.7079 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6221, allocations: 12.25 kB / 0.7079 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.6221, allocations: 12 kB / 0.7079 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/0.6221, allocations: 19.88 kB / 0.7079 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.6225, allocations: 112.5 kB / 0.7081 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.6225, allocations: 15.94 kB / 0.7081 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.6227, allocations: 23.94 kB / 0.7081 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.6228, allocations: 31.98 kB / 0.7081 GB, free: 4.816 MB / 0.5137 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.0001443/0.6229, allocations: 145.6 kB / 0.7083 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.623, allocations: 19.91 kB / 0.7083 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.6233, allocations: 155.8 kB / 0.7084 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.6233, allocations: 0 / 0.7084 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6233, allocations: 1.062 kB / 0.7084 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6233, allocations: 4 kB / 0.7084 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00059/0.6239, allocations: 440 kB / 0.7089 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6239, allocations: 0 / 0.7089 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.624, allocations: 27.98 kB / 0.7089 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.624, allocations: 0 / 0.7089 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.624, allocations: 11.98 kB / 0.7089 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.624, allocations: 3.938 kB / 0.7089 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.624, allocations: 3.938 kB / 0.7089 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.6243, allocations: 229 kB / 0.7091 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.6244, allocations: 101 kB / 0.7092 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.6245, allocations: 7.953 kB / 0.7092 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.6247, allocations: 11.98 kB / 0.7092 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.6247, allocations: 7.984 kB / 0.7092 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.6247, allocations: 7.984 kB / 0.7092 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000133/0.6249, allocations: 164.4 kB / 0.7094 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6249, allocations: 0 / 0.7094 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004621/0.6253, allocations: 91.88 kB / 0.7095 GB, free: 3.297 MB / 0.5137 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.0007157/0.626, allocations: 0.8115 MB / 0.7103 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.6264, allocations: 174.1 kB / 0.7105 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6264, allocations: 3.938 kB / 0.7105 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.407e-05/0.6264, allocations: 32.55 kB / 0.7105 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.6268, allocations: 48.36 kB / 0.7105 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.63, allocations: 2.735 MB / 0.7132 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.6303, allocations: 0.7245 MB / 0.7139 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002058/0.6305, allocations: 58.92 kB / 0.714 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.6306, allocations: 59.42 kB / 0.714 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.6306, allocations: 0 / 0.714 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.6572, allocations: 5.38 MB / 0.7193 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.629, allocations: 14.92 kB / 0.7193 GB, free: 8.977 MB / 0.5294 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 --stepSize=1.9988e-05 --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.587960941717029] 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.696401003748178 8.710852513 8.09695914 Calling exit ...