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.001353/0.001354, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.001375/0.001375, allocations: 211.3 kB / 21.41 MB, free: 1.66 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.465/1.465, allocations: 227.4 MB / 251.7 MB, free: 52 kB / 190.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.2264/0.2264, allocations: 46.15 MB / 351.1 MB, free: 14.3 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.00224/0.00224, allocations: 77.89 kB / 489.7 MB, free: 28.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1148, allocations: 62.45 MB / 0.5392 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4404/0.5552, allocations: 139 MB / 0.675 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005477/0.5608, allocations: 4.73 MB / 0.6796 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.5609, allocations: 0 / 0.6796 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.5613, allocations: 65.05 kB / 0.6796 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.5632, allocations: 0.7334 MB / 0.6803 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.5636, allocations: 166.9 kB / 0.6805 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.5641, allocations: 368.1 kB / 0.6809 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.599e-05/0.5642, allocations: 11.75 kB / 0.6809 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.5644, allocations: 160 kB / 0.681 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.5647, allocations: 190.5 kB / 0.6812 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.5648, allocations: 10.16 kB / 0.6812 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.5662, allocations: 0.6982 MB / 0.6819 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.5663, allocations: 41.91 kB / 0.6819 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.5664, allocations: 111.8 kB / 0.682 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007892/0.5672, allocations: 483.7 kB / 0.6825 GB, free: 9.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5673, allocations: 0 / 0.6825 GB, free: 9.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5673, allocations: 2.312 kB / 0.6825 GB, free: 9.855 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.5673, allocations: 0 / 0.6825 GB, free: 9.855 MB / 494.1 MB 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.001126/0.5684, allocations: 0.6096 MB / 0.6831 GB, free: 9.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5685, allocations: 10.06 kB / 0.6831 GB, free: 9.312 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.5685, allocations: 60.83 kB / 0.6832 GB, free: 9.254 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.5687, allocations: 28.83 kB / 0.6832 GB, free: 9.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.569, allocations: 233.3 kB / 0.6834 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.5692, allocations: 122.1 kB / 0.6835 GB, free: 8.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.5692, allocations: 19.72 kB / 0.6836 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.5698, allocations: 323.2 kB / 0.6839 GB, free: 8.633 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.5698, allocations: 5.969 kB / 0.6839 GB, free: 8.629 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.5698, allocations: 11.22 kB / 0.6839 GB, free: 8.621 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.5698, allocations: 9.188 kB / 0.6839 GB, free: 8.621 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008394/0.5707, allocations: 0.7392 MB / 0.6846 GB, free: 8.281 MB / 494.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.00147/0.5722, allocations: 1.228 MB / 0.6858 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.5726, allocations: 173 kB / 0.686 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.5727, allocations: 93.08 kB / 0.6861 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002677/0.5754, allocations: 2.702 MB / 0.6887 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.5755, allocations: 33.03 kB / 0.6887 GB, free: 3.895 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 3.447e-06/0.5755, allocations: 0 / 0.6887 GB, free: 3.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006799/0.5761, allocations: 235.2 kB / 0.689 GB, free: 3.754 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.5762, allocations: 58.38 kB / 0.689 GB, free: 3.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.5764, allocations: 215.3 kB / 0.6892 GB, free: 3.523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.5764, allocations: 31.98 kB / 0.6892 GB, free: 3.488 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.5766, allocations: 216.5 kB / 0.6895 GB, free: 3.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.5766, allocations: 53.16 kB / 0.6895 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.5767, allocations: 87.19 kB / 0.6896 GB, free: 3.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5768, allocations: 327.5 kB / 0.6899 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.5769, allocations: 52.52 kB / 0.69 GB, free: 2.832 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.5772, allocations: 321.7 kB / 0.6903 GB, free: 2.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.5777, allocations: 420.6 kB / 0.6907 GB, free: 1.984 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5777, allocations: 4.938 kB / 0.6907 GB, free: 1.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005277/0.5782, allocations: 383.6 kB / 0.691 GB, free: 1.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.5783, allocations: 9.562 kB / 0.691 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5783, allocations: 10.84 kB / 0.691 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.5783, allocations: 16.16 kB / 0.6911 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.5786, allocations: 109.8 kB / 0.6912 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.5787, allocations: 18.86 kB / 0.6912 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.5789, allocations: 18.03 kB / 0.6912 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.5789, allocations: 22.88 kB / 0.6912 GB, free: 1.738 MB / 494.1 MB 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.0001545/0.5791, allocations: 162.2 kB / 0.6914 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.5791, allocations: 20.16 kB / 0.6914 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.5794, allocations: 152 kB / 0.6915 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.5794, allocations: 5.906 kB / 0.6916 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5795, allocations: 0 / 0.6916 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5795, allocations: 0 / 0.6916 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.58, allocations: 448.5 kB / 0.692 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.58, allocations: 0 / 0.692 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.5802, allocations: 30.58 kB / 0.692 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5802, allocations: 0 / 0.692 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.5802, allocations: 6.078 kB / 0.692 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5802, allocations: 6.625 kB / 0.692 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5802, allocations: 0 / 0.692 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.5805, allocations: 223.3 kB / 0.6922 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.5806, allocations: 96.69 kB / 0.6923 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.5806, allocations: 10.14 kB / 0.6923 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.5808, allocations: 13.64 kB / 0.6923 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.5809, allocations: 12.33 kB / 0.6924 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.5809, allocations: 5.75 kB / 0.6924 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.581, allocations: 149.8 kB / 0.6925 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.581, allocations: 0 / 0.6925 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004573/0.5815, allocations: 97.69 kB / 0.6926 GB, free: 0.582 MB / 494.1 MB 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.0007142/0.5822, allocations: 0.8191 MB / 0.6934 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003092/0.5825, allocations: 180.8 kB / 0.6936 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5825, allocations: 2.781 kB / 0.6936 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.043e-05/0.5826, allocations: 31.8 kB / 0.6936 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.583, allocations: 51.62 kB / 0.6937 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.586, allocations: 2.731 MB / 0.6963 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.5864, allocations: 0.7238 MB / 0.697 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000207/0.5866, allocations: 57.58 kB / 0.6971 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.278e-05/0.5867, allocations: 58.17 kB / 0.6971 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.5867, allocations: 2.562 kB / 0.6971 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.6139, allocations: 5.349 MB / 0.7024 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.617, allocations: 4.594 kB / 0.7024 GB, free: 7.43 MB / 0.4981 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.5095227540005] 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.688840240938589 8.714978239 8.143415628 Calling exit ...