Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.0009234/0.0009234, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005117/0.005117, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 223.2 MB / 240.3 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6959/0.6959, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 16.55 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.343, allocations: 81.57 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1568/0.4999, allocations: 169.6 MB / 0.7493 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007857/0.5078, allocations: 9.38 MB / 0.7585 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.508, allocations: 4 kB / 0.7585 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.5084, allocations: 155 kB / 0.7587 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.5086, allocations: 87.48 kB / 0.7587 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.5087, allocations: 47.95 kB / 0.7588 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.5091, allocations: 382.3 kB / 0.7591 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.5093, allocations: 145.6 kB / 0.7593 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.5096, allocations: 123.4 kB / 0.7594 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.535e-05/0.5097, allocations: 83.45 kB / 0.7595 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.5097, allocations: 4 kB / 0.7595 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.5097, allocations: 4 kB / 0.7595 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.5097, allocations: 19.86 kB / 0.7595 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.601e-05/0.5098, allocations: 109.2 kB / 0.7596 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.51, allocations: 191.2 kB / 0.7598 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.51, allocations: 0 / 0.7598 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.51, allocations: 0 / 0.7598 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.51, allocations: 0 / 0.7598 GB, free: 11.54 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003505/0.5104, allocations: 439.1 kB / 0.7602 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5104, allocations: 8.031 kB / 0.7602 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.5105, allocations: 62.42 kB / 0.7603 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.5105, allocations: 27.7 kB / 0.7603 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.5107, allocations: 242.6 kB / 0.7605 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.5108, allocations: 16.44 kB / 0.7606 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.5108, allocations: 20 kB / 0.7606 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.5111, allocations: 239.7 kB / 0.7608 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.5111, allocations: 3.938 kB / 0.7608 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.5111, allocations: 8 kB / 0.7608 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.5112, allocations: 8 kB / 0.7608 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.5113, allocations: 83.84 kB / 0.7609 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008476/0.5121, allocations: 1.433 MB / 0.7623 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.523e-05/0.5122, allocations: 173.1 kB / 0.7625 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.5123, allocations: 84.14 kB / 0.7625 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.5123, allocations: 75.28 kB / 0.7626 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.5123, allocations: 109.8 kB / 0.7627 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.5123, allocations: 0 / 0.7627 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.042e-05/0.5124, allocations: 49.45 kB / 0.7628 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.5125, allocations: 130.7 kB / 0.7629 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.5127, allocations: 294.9 kB / 0.7632 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.5127, allocations: 25.7 kB / 0.7632 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.5128, allocations: 143.9 kB / 0.7633 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-06/0.5128, allocations: 0 / 0.7633 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.5129, allocations: 13.66 kB / 0.7633 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.513, allocations: 334.8 kB / 0.7637 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.513, allocations: 8 kB / 0.7637 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.513, allocations: 27.53 kB / 0.7637 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.5131, allocations: 39.31 kB / 0.7637 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5131, allocations: 4 kB / 0.7637 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001152/0.5132, allocations: 73.34 kB / 0.7638 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5132, allocations: 6.5 kB / 0.7638 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5132, allocations: 0 / 0.7638 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5132, allocations: 4 kB / 0.7638 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.612e-05/0.5133, allocations: 4 kB / 0.7638 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5133, allocations: 0 / 0.7638 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.5134, allocations: 35.75 kB / 0.7639 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.5134, allocations: 3.938 kB / 0.7639 GB, free: 7.051 MB / 0.5919 GB 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 (4): * Single equations (assignments): 4 * Array equations: 0 * 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 9.577e-05/0.5135, allocations: 197.1 kB / 0.7641 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.5135, allocations: 132.7 kB / 0.7642 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.5136, allocations: 125.9 kB / 0.7643 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/0.5137, allocations: 176.3 kB / 0.7645 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.756e-05/0.5137, allocations: 180.4 kB / 0.7646 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.813e-05/0.5138, allocations: 188.1 kB / 0.7648 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.514, allocations: 469.1 kB / 0.7653 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/0.5141, allocations: 108.9 kB / 0.7654 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.5141, allocations: 101 kB / 0.7655 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.402e-05/0.5141, allocations: 176.3 kB / 0.7656 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/0.5142, allocations: 192.1 kB / 0.7658 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.895e-05/0.5143, allocations: 180.3 kB / 0.766 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.878e-05/0.5143, allocations: 184.2 kB / 0.7662 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.5144, allocations: 319.6 kB / 0.7665 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-05/0.5145, allocations: 213.7 kB / 0.7667 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.68e-05/0.5146, allocations: 176.3 kB / 0.7668 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.5147, allocations: 104.9 kB / 0.7669 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.5147, allocations: 184.2 kB / 0.7671 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.5148, allocations: 109 kB / 0.7672 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001671/0.515, allocations: 202 kB / 0.7674 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.532e-06/0.515, allocations: 4 kB / 0.7674 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002287/0.5152, allocations: 27.94 kB / 0.7674 GB, free: 3.16 MB / 0.5919 GB 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0003071/0.5155, allocations: 0.8202 MB / 0.7682 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.035e-05/0.5156, allocations: 20 kB / 0.7683 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5156, allocations: 0 / 0.7683 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-06/0.5156, allocations: 0 / 0.7683 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.5163, allocations: 0.5975 MB / 0.7688 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.5182, allocations: 2.267 MB / 0.7711 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.5185, allocations: 0.7248 MB / 0.7718 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.032e-05/0.5186, allocations: 25.94 kB / 0.7718 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.5186, allocations: 59.42 kB / 0.7719 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.5186, allocations: 0 / 0.7719 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04809/0.5667, allocations: 4.314 MB / 0.7761 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.5669, allocations: 197.7 kB / 0.7763 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.18, allocations: 0 / 0.7763 GB, free: 10.12 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)