Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001315, allocations: 95.86 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001498, allocations: 179.4 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007883/0.0007885, allocations: 12 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1068, allocations: 47.58 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.05656/0.1634, allocations: 49.97 MB / 378.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2097/0.3732, allocations: 4.361 MB / 382.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005516/0.3738, allocations: 4.375 kB / 382.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000917/0.3747, allocations: 273 kB / 383 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000762/0.3755, allocations: 341 kB / 383.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01519/0.3907, allocations: 4.913 MB / 388.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.3926, allocations: 0.8291 MB / 389.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.393, allocations: 164.4 kB / 389.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.3941, allocations: 0.4987 MB / 389.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/0.3947, allocations: 375.5 kB / 390.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3948, allocations: 40.28 kB / 390.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02/0.4148, allocations: 8.454 MB / 398.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004549/0.4153, allocations: 251.5 kB / 398.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005028/0.4158, allocations: 169.4 kB / 399 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007917/0.4238, allocations: 3.678 MB / 402.7 MB, free: 8.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4238, allocations: 3.562 kB / 402.7 MB, free: 8.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4238, allocations: 0 / 402.7 MB, free: 8.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.4238, allocations: 0 / 402.7 MB, free: 8.953 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003537/0.4274, allocations: 1.362 MB / 404.1 MB, free: 8.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4274, allocations: 9.219 kB / 404.1 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.4275, allocations: 107.9 kB / 404.2 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.4279, allocations: 83.89 kB / 404.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.4285, allocations: 438.4 kB / 404.7 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.4285, allocations: 46.69 kB / 404.7 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.654e-05/0.4286, allocations: 64.52 kB / 404.8 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.4301, allocations: 0.7979 MB / 405.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.4301, allocations: 7.891 kB / 405.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.4302, allocations: 30.59 kB / 405.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.4302, allocations: 12.84 kB / 405.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.4317, allocations: 1.024 MB / 406.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/0.4466, allocations: 12.84 MB / 419.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.4482, allocations: 0.7523 MB / 420.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01495/0.4632, allocations: 12.3 MB / 432.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.218e-05/0.4633, allocations: 45.66 kB / 432.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 2.855e-06/0.4633, allocations: 0 / 432.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.009506/0.4728, allocations: 3.417 MB / 436 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.4729, allocations: 60.41 kB / 436.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.4733, allocations: 348.1 kB / 436.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/0.4734, allocations: 43.77 kB / 436.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.4735, allocations: 240.4 kB / 436.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.4737, allocations: 313.1 kB / 437 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.4738, allocations: 11.75 kB / 437 MB, free: 9.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4739, allocations: 365.2 kB / 437.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.4744, allocations: 366.2 kB / 437.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/0.4753, allocations: 491.3 kB / 438.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008187/0.4761, allocations: 436.8 kB / 438.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4761, allocations: 4 kB / 438.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002277/0.4784, allocations: 1.117 MB / 439.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4784, allocations: 4 kB / 439.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4784, allocations: 4 kB / 439.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00077/0.4792, allocations: 172.2 kB / 439.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.48, allocations: 187 kB / 440.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.4825, allocations: 3.932 MB / 444.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/0.4831, allocations: 70.28 kB / 444.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/0.4832, allocations: 38.73 kB / 444.2 MB, free: 3.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003953/0.4836, allocations: 228.1 kB / 444.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.4839, allocations: 59.44 kB / 444.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.4861, allocations: 1.293 MB / 445.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4861, allocations: 8 kB / 445.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.4861, allocations: 0 / 445.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001657/0.4878, allocations: 1.328 MB / 447.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.4909, allocations: 1.978 MB / 449 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4909, allocations: 0 / 449 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/0.4916, allocations: 165.8 kB / 449.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/0.4933, allocations: 296.7 kB / 449.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.047e-05/0.4934, allocations: 29.03 kB / 449.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007791/0.4942, allocations: 1.292 MB / 450.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4942, allocations: 4.031 kB / 450.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.4966, allocations: 1.437 MB / 452.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.4969, allocations: 138.8 kB / 452.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/0.497, allocations: 21.31 kB / 452.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005941/0.4976, allocations: 60.98 kB / 452.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.4977, allocations: 52.36 kB / 452.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/0.4978, allocations: 46.36 kB / 452.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003156/0.4981, allocations: 280.1 kB / 452.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.4981, allocations: 0 / 452.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004623/0.5028, allocations: 1.386 MB / 454.2 MB, free: 10.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00916/0.512, allocations: 3.623 MB / 457.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.5144, allocations: 1.161 MB / 459 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.5144, allocations: 4 kB / 459 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009248/0.5154, allocations: 491.6 kB / 459.5 MB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.5175, allocations: 358.5 kB / 459.8 MB, free: 6.195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.5297, allocations: 6.532 MB / 466.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.5304, allocations: 0.9208 MB / 467.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008987/0.5313, allocations: 201.2 kB / 467.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.5316, allocations: 230.4 kB / 467.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5316, allocations: 2.812 kB / 467.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08817/0.6198, allocations: 56.94 MB / 0.5124 GB, free: 6.375 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.62, allocations: 253 kB / 0.5126 GB, free: 6.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.99/4.61, allocations: 4 kB / 0.5126 GB, free: 6.082 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat