Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.000997/0.000997, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001023/0.001023, allocations: 192.1 kB / 16.25 MB, free: 6.625 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.266/1.266, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7164/0.7164, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 64 kB / 0.5014 GB, free: 4.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3508, allocations: 80.21 MB / 0.5797 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1593/0.5101, allocations: 171.7 MB / 0.7474 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007326/0.5175, allocations: 9.434 MB / 0.7566 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.5177, allocations: 4 kB / 0.7566 GB, free: 11.91 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.0004707/0.5182, allocations: 170.9 kB / 0.7568 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.5184, allocations: 79.5 kB / 0.7568 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.5185, allocations: 59.89 kB / 0.7569 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.5188, allocations: 326.5 kB / 0.7572 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.5191, allocations: 204.8 kB / 0.7574 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.5194, allocations: 171.3 kB / 0.7576 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.5195, allocations: 127.4 kB / 0.7577 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.5196, allocations: 20 kB / 0.7577 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.037e-05/0.5196, allocations: 24 kB / 0.7577 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.5197, allocations: 67.83 kB / 0.7578 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.631e-05/0.5198, allocations: 131.3 kB / 0.7579 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.52, allocations: 279 kB / 0.7582 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.52, allocations: 0 / 0.7582 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.347e-06/0.52, allocations: 0 / 0.7582 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.52, allocations: 3.938 kB / 0.7582 GB, free: 10.28 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004162/0.5204, allocations: 0.5121 MB / 0.7587 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.5205, allocations: 12.03 kB / 0.7587 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.5205, allocations: 70.45 kB / 0.7588 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.5206, allocations: 27.72 kB / 0.7588 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.5208, allocations: 270.4 kB / 0.7591 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.5208, allocations: 20.56 kB / 0.7591 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.5209, allocations: 28 kB / 0.7591 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.5213, allocations: 323.9 kB / 0.7594 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.5213, allocations: 4 kB / 0.7594 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.5213, allocations: 15.94 kB / 0.7594 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.5213, allocations: 4 kB / 0.7594 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.5215, allocations: 143.7 kB / 0.7596 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.5225, allocations: 1.808 MB / 0.7613 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.256e-05/0.5226, allocations: 177.1 kB / 0.7615 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.5226, allocations: 84.14 kB / 0.7616 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.5226, allocations: 75.28 kB / 0.7617 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.5227, allocations: 109.8 kB / 0.7618 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.5227, allocations: 0 / 0.7618 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 6.998e-05/0.5228, allocations: 53.33 kB / 0.7618 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.5228, allocations: 134.6 kB / 0.7619 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.5231, allocations: 373.7 kB / 0.7623 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.5231, allocations: 25.7 kB / 0.7623 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.5232, allocations: 171.8 kB / 0.7625 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.5232, allocations: 0 / 0.7625 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.5233, allocations: 21.81 kB / 0.7625 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.5234, allocations: 342.8 kB / 0.7628 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.5234, allocations: 0 / 0.7628 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.5234, allocations: 40.3 kB / 0.7629 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/0.5235, allocations: 52.16 kB / 0.7629 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5235, allocations: 0 / 0.7629 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001193/0.5236, allocations: 85.41 kB / 0.763 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.5236, allocations: 4 kB / 0.763 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5236, allocations: 4 kB / 0.763 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.5236, allocations: 4 kB / 0.763 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.173e-05/0.5237, allocations: 12 kB / 0.763 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.5237, allocations: 3.938 kB / 0.763 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.5238, allocations: 27.75 kB / 0.7631 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.5238, allocations: 8 kB / 0.7631 GB, free: 4.945 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.000109/0.5239, allocations: 217 kB / 0.7633 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.524, allocations: 124.7 kB / 0.7634 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.743e-05/0.524, allocations: 134.9 kB / 0.7635 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/0.5241, allocations: 180.3 kB / 0.7637 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.365e-05/0.5241, allocations: 184.3 kB / 0.7639 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.583e-05/0.5242, allocations: 184.2 kB / 0.764 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.5244, allocations: 489 kB / 0.7645 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.657e-05/0.5245, allocations: 101 kB / 0.7646 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.5245, allocations: 116.9 kB / 0.7647 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.397e-05/0.5245, allocations: 184.2 kB / 0.7649 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.5246, allocations: 184.2 kB / 0.7651 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.293e-05/0.5246, allocations: 176.3 kB / 0.7652 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.173e-05/0.5247, allocations: 184.2 kB / 0.7654 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.5248, allocations: 331.4 kB / 0.7657 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.5249, allocations: 217.7 kB / 0.7659 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.525, allocations: 176.3 kB / 0.7661 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.5251, allocations: 101 kB / 0.7662 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.5251, allocations: 180.2 kB / 0.7664 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.5251, allocations: 109 kB / 0.7665 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002152/0.5254, allocations: 271.2 kB / 0.7667 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5254, allocations: 4 kB / 0.7667 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002321/0.5256, allocations: 31.94 kB / 0.7668 GB, free: 0.9258 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.0002989/0.5259, allocations: 0.8317 MB / 0.7676 GB, free: 64 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.888e-05/0.526, allocations: 24.11 kB / 0.7676 GB, free: 40 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.526, allocations: 4.062 kB / 0.7676 GB, free: 36 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.526, allocations: 0 / 0.7676 GB, free: 36 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.5267, allocations: 0.5475 MB / 0.7681 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.5289, allocations: 2.749 MB / 0.7708 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.5292, allocations: 0.7558 MB / 0.7716 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.22e-05/0.5293, allocations: 38.95 kB / 0.7716 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/0.5294, allocations: 75.41 kB / 0.7717 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.5294, allocations: 0 / 0.7717 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7643/1.294, allocations: 5.718 MB / 0.7773 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/1.294, allocations: 203.5 kB / 0.7774 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.952, allocations: 7.938 kB / 0.7775 GB, free: 5.98 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)