Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001785/0.001785, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002223/0.002223, allocations: 218.1 kB / 23 MB, free: 5.609 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.2 MB / 256.2 MB, free: 8.754 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.2286/0.2286, allocations: 46.89 MB / 359.4 MB, free: 4.973 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.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.002404/0.002404, allocations: 84.14 kB / 0.4941 GB, free: 9.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.384, allocations: 65.98 MB / 0.5586 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6428/1.027, allocations: 195 MB / 0.749 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009924/1.037, allocations: 7.528 MB / 0.7564 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/1.038, allocations: 20.03 kB / 0.7564 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/1.039, allocations: 451 kB / 0.7568 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007721/1.047, allocations: 2.395 MB / 0.7591 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006636/1.054, allocations: 2.318 MB / 0.7614 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003386/1.057, allocations: 2.204 MB / 0.7636 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008928/1.058, allocations: 0.5198 MB / 0.7641 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004845/1.063, allocations: 1.853 MB / 0.7659 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/1.065, allocations: 0.9138 MB / 0.7668 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001844/1.065, allocations: 94.19 kB / 0.7669 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01033/1.075, allocations: 5.398 MB / 0.7721 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009087/1.076, allocations: 442.5 kB / 0.7725 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/1.077, allocations: 0.5336 MB / 0.7731 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/1.088, allocations: 3.848 MB / 0.7768 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.49e-05/1.088, allocations: 2.172 kB / 0.7768 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/1.088, allocations: 0 / 0.7768 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.825e-05/1.088, allocations: 0 / 0.7768 GB, free: 1.105 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004827/1.093, allocations: 1.78 MB / 0.7786 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.093, allocations: 11.19 kB / 0.7786 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/1.093, allocations: 127.1 kB / 0.7787 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/1.094, allocations: 110.6 kB / 0.7788 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/1.095, allocations: 0.6261 MB / 0.7794 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/1.095, allocations: 118.8 kB / 0.7795 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/1.095, allocations: 75.12 kB / 0.7796 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/1.097, allocations: 1.158 MB / 0.7807 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/1.097, allocations: 3.844 kB / 0.7807 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.883e-05/1.097, allocations: 33.25 kB / 0.7808 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-05/1.097, allocations: 60.03 kB / 0.7808 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/1.099, allocations: 1.161 MB / 0.782 GB, free: 15.52 MB / 0.5762 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.006649/1.105, allocations: 4.977 MB / 0.7868 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/1.107, allocations: 0.789 MB / 0.7876 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000607/1.108, allocations: 407.2 kB / 0.788 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/1.109, allocations: 1.627 MB / 0.7896 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/1.109, allocations: 47.69 kB / 0.7896 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.036e-06/1.109, allocations: 1.094 kB / 0.7896 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01289/1.122, allocations: 4.015 MB / 0.7935 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/1.122, allocations: 112.9 kB / 0.7936 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000794/1.123, allocations: 0.6607 MB / 0.7943 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/1.123, allocations: 42.27 kB / 0.7943 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/1.123, allocations: 390 kB / 0.7947 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/1.124, allocations: 303 kB / 0.795 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/1.124, allocations: 199.4 kB / 0.7952 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.124, allocations: 397.1 kB / 0.7956 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009478/1.125, allocations: 495.4 kB / 0.796 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/1.126, allocations: 0.756 MB / 0.7968 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/1.129, allocations: 1.283 MB / 0.798 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.129, allocations: 1.625 kB / 0.798 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003579/1.132, allocations: 1.659 MB / 0.7996 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.132, allocations: 8.438 kB / 0.7997 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.132, allocations: 8.969 kB / 0.7997 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007042/1.139, allocations: 1.315 MB / 0.8009 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/1.14, allocations: 152 kB / 0.8011 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/1.143, allocations: 1.536 MB / 0.8026 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009952/1.144, allocations: 50.5 kB / 0.8026 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/1.144, allocations: 55.88 kB / 0.8027 GB, free: 7.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005709/1.144, allocations: 298.8 kB / 0.803 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/1.145, allocations: 89.67 kB / 0.8031 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/1.148, allocations: 1.677 MB / 0.8047 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/1.148, allocations: 8.688 kB / 0.8047 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.148, allocations: 3.438 kB / 0.8047 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/1.148, allocations: 3.984 kB / 0.8047 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004582/1.153, allocations: 2.629 MB / 0.8073 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.153, allocations: 0 / 0.8073 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.154, allocations: 258.9 kB / 0.8075 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/1.156, allocations: 381.4 kB / 0.8079 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.483e-05/1.156, allocations: 34.23 kB / 0.8079 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/1.159, allocations: 2.351 MB / 0.8102 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.159, allocations: 4.031 kB / 0.8102 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/1.163, allocations: 2.031 MB / 0.8122 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006231/1.163, allocations: 292.3 kB / 0.8125 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/1.163, allocations: 26.23 kB / 0.8125 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007968/1.164, allocations: 52.23 kB / 0.8126 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.164, allocations: 65.66 kB / 0.8126 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.164, allocations: 49.47 kB / 0.8127 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006772/1.165, allocations: 0.4989 MB / 0.8132 GB, free: 156 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.165, allocations: 0 / 0.8132 GB, free: 156 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00222/1.167, allocations: 0.69 MB / 0.8138 GB, free: 15.46 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006798/1.174, allocations: 3.306 MB / 0.8171 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002951/1.177, allocations: 1.186 MB / 0.8182 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.177, allocations: 0.9375 kB / 0.8182 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/1.179, allocations: 0.6893 MB / 0.8189 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/1.182, allocations: 0.5265 MB / 0.8194 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.2, allocations: 9.673 MB / 0.8289 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000816/1.201, allocations: 1.048 MB / 0.8299 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001243/1.202, allocations: 372.1 kB / 0.8302 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/1.203, allocations: 331.3 kB / 0.8305 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of SimCode: time 1.583e-06/1.203, allocations: 0 / 0.8305 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09403/1.297, allocations: 44.38 MB / 0.8739 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/15.14, allocations: 8.703 kB / 0.8739 GB, free: 1.988 MB / 0.6387 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.029640977008967] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.Xi[1]', 'volume.medium.T'] 15.260019227978773 15.275778383 14.184225982 Calling exit ...