Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_dev_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.0009048/0.0009048, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0008938/0.0008937, allocations: 199.2 kB / 16.14 MB, free: 6.66 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.146/1.146, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8226/0.8226, allocations: 135.1 MB / 425.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 62.72 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1287, allocations: 80.94 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.3624/0.4911, allocations: 171.8 MB / 0.7516 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008514/0.4997, allocations: 9.516 MB / 0.7609 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.5, allocations: 4 kB / 0.7609 GB, free: 8.059 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006215/0.5006, allocations: 158.9 kB / 0.761 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.5009, allocations: 83.48 kB / 0.7611 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.501, allocations: 55.97 kB / 0.7612 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.5015, allocations: 378.6 kB / 0.7615 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.5017, allocations: 133.6 kB / 0.7616 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.502, allocations: 151.4 kB / 0.7618 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.5021, allocations: 99.44 kB / 0.7619 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.5022, allocations: 12 kB / 0.7619 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.785e-05/0.5022, allocations: 12 kB / 0.7619 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.5022, allocations: 39.84 kB / 0.7619 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.5023, allocations: 91.48 kB / 0.762 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.5025, allocations: 207.2 kB / 0.7622 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5025, allocations: 3.984 kB / 0.7622 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5025, allocations: 0 / 0.7622 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.5025, allocations: 0 / 0.7622 GB, free: 6.66 MB / 0.5762 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.0004059/0.5029, allocations: 475 kB / 0.7627 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.503, allocations: 8.031 kB / 0.7627 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.088e-05/0.503, allocations: 54.55 kB / 0.7627 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.5031, allocations: 23.75 kB / 0.7628 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.5033, allocations: 250.5 kB / 0.763 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.5033, allocations: 16.44 kB / 0.763 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.5034, allocations: 20 kB / 0.763 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.5037, allocations: 231.8 kB / 0.7633 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5037, allocations: 7.938 kB / 0.7633 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.5037, allocations: 8 kB / 0.7633 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.5037, allocations: 8 kB / 0.7633 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.5039, allocations: 83.84 kB / 0.7634 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/0.5048, allocations: 1.449 MB / 0.7648 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.403e-05/0.5049, allocations: 169.1 kB / 0.7649 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.5049, allocations: 80.14 kB / 0.765 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.505, allocations: 79.27 kB / 0.7651 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.505, allocations: 113.8 kB / 0.7652 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.505, allocations: 4 kB / 0.7652 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.16e-05/0.5051, allocations: 45.42 kB / 0.7653 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.5052, allocations: 126.7 kB / 0.7654 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.5054, allocations: 287 kB / 0.7656 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.5054, allocations: 29.64 kB / 0.7657 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.5055, allocations: 147.9 kB / 0.7658 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.5056, allocations: 0 / 0.7658 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.5056, allocations: 17.66 kB / 0.7658 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5057, allocations: 338.8 kB / 0.7662 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.5057, allocations: 8 kB / 0.7662 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.341e-05/0.5058, allocations: 27.47 kB / 0.7662 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.5058, allocations: 35.38 kB / 0.7662 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.5058, allocations: 4 kB / 0.7662 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001202/0.5059, allocations: 73.34 kB / 0.7663 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.506, allocations: 4 kB / 0.7663 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.506, allocations: 0 / 0.7663 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.506, allocations: 4 kB / 0.7663 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.506, allocations: 7.984 kB / 0.7663 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5061, allocations: 3.938 kB / 0.7663 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.5061, allocations: 27.81 kB / 0.7663 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.5061, allocations: 7.938 kB / 0.7663 GB, free: 2.125 MB / 0.5762 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 0.0001073/0.5062, allocations: 197.1 kB / 0.7665 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.5063, allocations: 120.8 kB / 0.7667 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.5064, allocations: 125.9 kB / 0.7668 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.174e-05/0.5064, allocations: 176.3 kB / 0.7669 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.437e-05/0.5065, allocations: 184.2 kB / 0.7671 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.937e-05/0.5066, allocations: 180.2 kB / 0.7673 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.5069, allocations: 473.1 kB / 0.7677 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.034e-05/0.5069, allocations: 104.9 kB / 0.7678 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.507, allocations: 101 kB / 0.7679 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-05/0.507, allocations: 180.4 kB / 0.7681 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/0.5071, allocations: 196.1 kB / 0.7683 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.388e-05/0.5072, allocations: 176.3 kB / 0.7685 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-05/0.5072, allocations: 180.2 kB / 0.7686 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.5074, allocations: 327.7 kB / 0.7689 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.5074, allocations: 209.8 kB / 0.7691 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.231e-05/0.5075, allocations: 188.3 kB / 0.7693 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.5076, allocations: 104.9 kB / 0.7694 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.5077, allocations: 176.3 kB / 0.7696 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.5077, allocations: 105 kB / 0.7697 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001726/0.5079, allocations: 209.8 kB / 0.7699 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5079, allocations: 4 kB / 0.7699 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002548/0.5082, allocations: 28 kB / 0.7699 GB, free: 14.23 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.000341/0.5085, allocations: 0.8163 MB / 0.7707 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.491e-05/0.5086, allocations: 16.12 kB / 0.7707 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5086, allocations: 4.062 kB / 0.7707 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.5086, allocations: 0 / 0.7707 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007858/0.5094, allocations: 0.6142 MB / 0.7713 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.5114, allocations: 2.264 MB / 0.7736 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.5117, allocations: 0.7209 MB / 0.7743 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.234e-05/0.5118, allocations: 21.95 kB / 0.7743 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.5119, allocations: 64.39 kB / 0.7743 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.5119, allocations: 0 / 0.7743 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2672/0.7791, allocations: 4.389 MB / 0.7786 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.7793, allocations: 210.4 kB / 0.7788 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.51, allocations: 3.938 kB / 0.7788 GB, free: 5.086 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)