Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001811/0.001806, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002252/0.002252, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB 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.11 MB / 344.2 MB, free: 11.58 MB / 286.1 MB 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.002262/0.002262, allocations: 81.11 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1123, allocations: 62.44 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3905/0.5028, allocations: 153.9 MB / 0.6192 GB, free: 9.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.5051, allocations: 1.455 MB / 0.6207 GB, free: 7.797 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.5052, allocations: 0 / 0.6207 GB, free: 7.797 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.5057, allocations: 47.17 kB / 0.6207 GB, free: 7.754 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00365/0.5093, allocations: 1.078 MB / 0.6218 GB, free: 6.699 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.258e-06/0.5094, allocations: 0 / 0.6218 GB, free: 6.699 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.5095, allocations: 67.66 kB / 0.6218 GB, free: 6.633 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.5096, allocations: 4 kB / 0.6218 GB, free: 6.629 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.858e-05/0.5096, allocations: 27.86 kB / 0.6218 GB, free: 6.602 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.5098, allocations: 31.84 kB / 0.6219 GB, free: 6.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.5098, allocations: 0 / 0.6219 GB, free: 6.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003818/0.5136, allocations: 1.836 MB / 0.6237 GB, free: 4.734 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.5137, allocations: 22.06 kB / 0.6237 GB, free: 4.715 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.5138, allocations: 15.94 kB / 0.6237 GB, free: 4.699 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.5161, allocations: 0.924 MB / 0.6246 GB, free: 3.773 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5161, allocations: 0 / 0.6246 GB, free: 3.773 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5162, allocations: 4 kB / 0.6246 GB, free: 3.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.5162, allocations: 0 / 0.6246 GB, free: 3.77 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009853/0.5172, allocations: 0.4919 MB / 0.6251 GB, free: 3.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5172, allocations: 8.031 kB / 0.6251 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.5173, allocations: 42.67 kB / 0.6251 GB, free: 3.172 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.5173, allocations: 4.938 kB / 0.6251 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.5175, allocations: 171.7 kB / 0.6253 GB, free: 2.961 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.5175, allocations: 0 / 0.6253 GB, free: 2.961 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.5175, allocations: 11.94 kB / 0.6253 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.5177, allocations: 81.66 kB / 0.6254 GB, free: 2.863 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5177, allocations: 4 kB / 0.6254 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.5177, allocations: 0 / 0.6254 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.5178, allocations: 11.92 kB / 0.6254 GB, free: 2.848 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.5179, allocations: 63.95 kB / 0.6255 GB, free: 2.785 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.5185, allocations: 312.6 kB / 0.6258 GB, free: 2.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.5186, allocations: 46.5 kB / 0.6258 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/0.5186, allocations: 20.97 kB / 0.6258 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/0.5189, allocations: 263.2 kB / 0.6261 GB, free: 2.039 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.5189, allocations: 41.38 kB / 0.6261 GB, free: 1.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.519, allocations: 0 / 0.6261 GB, free: 1.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002127/0.5192, allocations: 61.69 kB / 0.6262 GB, free: 1.926 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.5192, allocations: 51.41 kB / 0.6262 GB, free: 1.863 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.5193, allocations: 109.8 kB / 0.6263 GB, free: 1.746 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.5193, allocations: 25.7 kB / 0.6264 GB, free: 1.715 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.5194, allocations: 103.9 kB / 0.6265 GB, free: 1.609 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.5194, allocations: 11.81 kB / 0.6265 GB, free: 1.598 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.5195, allocations: 17.72 kB / 0.6265 GB, free: 1.574 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5197, allocations: 326.8 kB / 0.6268 GB, free: 1.246 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.5197, allocations: 8 kB / 0.6268 GB, free: 1.238 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.5198, allocations: 39.42 kB / 0.6269 GB, free: 1.188 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.5199, allocations: 59.47 kB / 0.6269 GB, free: 1.117 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5199, allocations: 3.938 kB / 0.6269 GB, free: 1.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000149/0.52, allocations: 83.52 kB / 0.627 GB, free: 1.027 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5201, allocations: 7.938 kB / 0.627 GB, free: 1.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5201, allocations: 4.094 kB / 0.627 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5201, allocations: 4 kB / 0.627 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.894e-05/0.5202, allocations: 8 kB / 0.627 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5202, allocations: 7.938 kB / 0.627 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.5203, allocations: 7.938 kB / 0.627 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.5203, allocations: 7.984 kB / 0.627 GB, free: 0.9805 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * 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.0001025/0.5204, allocations: 109.8 kB / 0.6271 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.5204, allocations: 15.84 kB / 0.6272 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.5206, allocations: 77.22 kB / 0.6272 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.5207, allocations: 0 / 0.6272 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5207, allocations: 0 / 0.6272 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5207, allocations: 0 / 0.6272 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.5209, allocations: 169.7 kB / 0.6274 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5209, allocations: 0 / 0.6274 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.521, allocations: 8.812 kB / 0.6274 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.521, allocations: 11.88 kB / 0.6274 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.521, allocations: 4 kB / 0.6274 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.521, allocations: 0 / 0.6274 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.521, allocations: 0 / 0.6274 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.5212, allocations: 156.7 kB / 0.6276 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.5213, allocations: 88.95 kB / 0.6277 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.5213, allocations: 0 / 0.6277 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.5214, allocations: 0 / 0.6277 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.5214, allocations: 4 kB / 0.6277 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.5214, allocations: 4 kB / 0.6277 GB, free: 256 kB / 462.1 MB Notification: Performance of sorting global known variables: time 7.47e-05/0.5215, allocations: 92.14 kB / 0.6277 GB, free: 164 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5215, allocations: 0 / 0.6277 GB, free: 164 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.000654/0.5222, allocations: 147.8 kB / 0.6279 GB, free: 16 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 4 * 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.001681/0.5239, allocations: 0.9287 MB / 0.6288 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.5241, allocations: 43.98 kB / 0.6288 GB, free: 15.03 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5241, allocations: 0 / 0.6288 GB, free: 15.03 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.5241, allocations: 19.98 kB / 0.6289 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.5245, allocations: 15.28 kB / 0.6289 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009365/0.5255, allocations: 266.7 kB / 0.6291 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.5258, allocations: 0.6851 MB / 0.6298 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.347e-05/0.5259, allocations: 25.7 kB / 0.6298 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.526, allocations: 23.44 kB / 0.6298 GB, free: 13.94 MB / 478.1 MB Notification: Performance of SimCode: time 3.6e-07/0.526, allocations: 0 / 0.6298 GB, free: 13.94 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.5531, allocations: 4.969 MB / 0.6347 GB, free: 9.039 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.549, allocations: 9.016 kB / 0.6347 GB, free: 9.031 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1)