Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.005267/0.005267, allocations: 100.6 kB / 15.73 MB, free: 5.492 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.001211/0.001211, allocations: 186.6 kB / 16.67 MB, free: 5.422 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8007/0.8007, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.16 kB / 0.5852 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1617, allocations: 80.92 MB / 0.6642 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.5553/0.7171, allocations: 148 MB / 0.8087 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004797/0.7219, allocations: 4.644 MB / 0.8133 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004196/0.7224, allocations: 7.438 kB / 0.8133 GB, free: 11.08 MB / 0.5919 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 (3) 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 (3) 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.0006397/0.723, allocations: 164.6 kB / 0.8134 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.7235, allocations: 90.5 kB / 0.8135 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.7237, allocations: 63.98 kB / 0.8136 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000469/0.7242, allocations: 304.2 kB / 0.8139 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.7245, allocations: 155.3 kB / 0.814 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.7248, allocations: 110.7 kB / 0.8141 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.725, allocations: 154.3 kB / 0.8143 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.7251, allocations: 16.5 kB / 0.8143 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 6.735e-05/0.7252, allocations: 19.06 kB / 0.8143 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.7253, allocations: 63.89 kB / 0.8144 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.7255, allocations: 108 kB / 0.8145 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.7258, allocations: 241.7 kB / 0.8147 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7258, allocations: 5.594 kB / 0.8147 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7258, allocations: 0 / 0.8147 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.7258, allocations: 0 / 0.8147 GB, free: 10.3 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006134/0.7264, allocations: 487.8 kB / 0.8152 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.7265, allocations: 10.89 kB / 0.8152 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.087e-05/0.7266, allocations: 60.84 kB / 0.8152 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.7266, allocations: 24.78 kB / 0.8153 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.727, allocations: 270.1 kB / 0.8155 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.7271, allocations: 13.03 kB / 0.8155 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.7271, allocations: 25.66 kB / 0.8155 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.7275, allocations: 299.6 kB / 0.8158 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.7275, allocations: 5.406 kB / 0.8158 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.7276, allocations: 12.28 kB / 0.8158 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.7276, allocations: 10.06 kB / 0.8159 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.7278, allocations: 121.6 kB / 0.816 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.7292, allocations: 1.968 MB / 0.8179 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.478e-05/0.7293, allocations: 175.8 kB / 0.8181 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.7293, allocations: 80.14 kB / 0.8181 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.7294, allocations: 83.22 kB / 0.8182 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.7294, allocations: 109.8 kB / 0.8183 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.7294, allocations: 0 / 0.8183 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.952e-05/0.7295, allocations: 50.08 kB / 0.8184 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.7296, allocations: 130.7 kB / 0.8185 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.7299, allocations: 326.8 kB / 0.8188 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.73, allocations: 29.64 kB / 0.8188 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.7301, allocations: 164.4 kB / 0.819 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.7301, allocations: 6.797 kB / 0.819 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.7302, allocations: 22.56 kB / 0.819 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7303, allocations: 336.1 kB / 0.8193 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.7303, allocations: 5.188 kB / 0.8193 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.7304, allocations: 65.28 kB / 0.8194 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.7305, allocations: 70.06 kB / 0.8195 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7305, allocations: 1.688 kB / 0.8195 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001789/0.7307, allocations: 104.8 kB / 0.8196 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.7307, allocations: 9.656 kB / 0.8196 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7307, allocations: 2.125 kB / 0.8196 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.7307, allocations: 2.938 kB / 0.8196 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.7308, allocations: 17.94 kB / 0.8196 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.7308, allocations: 2.5 kB / 0.8196 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.155e-05/0.7309, allocations: 27.56 kB / 0.8196 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.7309, allocations: 4.344 kB / 0.8196 GB, free: 5.559 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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): 8 * 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.0001259/0.731, allocations: 209.7 kB / 0.8198 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.7311, allocations: 133.3 kB / 0.82 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.066e-05/0.7312, allocations: 129.5 kB / 0.8201 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.103e-05/0.7313, allocations: 180.3 kB / 0.8203 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.724e-05/0.7313, allocations: 182.3 kB / 0.8204 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.769e-05/0.7314, allocations: 180.3 kB / 0.8206 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.7317, allocations: 483.8 kB / 0.8211 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/0.7318, allocations: 103.3 kB / 0.8212 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.7318, allocations: 107.4 kB / 0.8213 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.18e-05/0.7319, allocations: 184.2 kB / 0.8214 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/0.732, allocations: 182 kB / 0.8216 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.299e-05/0.732, allocations: 184.4 kB / 0.8218 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.916e-05/0.7321, allocations: 179.6 kB / 0.822 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.7323, allocations: 335.7 kB / 0.8223 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.7324, allocations: 209.3 kB / 0.8225 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.979e-05/0.7325, allocations: 182.9 kB / 0.8227 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.7326, allocations: 105 kB / 0.8228 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.7327, allocations: 180.2 kB / 0.8229 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.7327, allocations: 103.7 kB / 0.823 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002193/0.7329, allocations: 243.2 kB / 0.8233 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7329, allocations: 0 / 0.8233 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002836/0.7332, allocations: 29.81 kB / 0.8233 GB, free: 1.793 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.0004212/0.7336, allocations: 0.8375 MB / 0.8241 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.814e-05/0.7337, allocations: 28.03 kB / 0.8241 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7338, allocations: 0 / 0.8241 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.7338, allocations: 0 / 0.8241 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/0.7345, allocations: 0.5123 MB / 0.8246 GB, free: 476 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.737, allocations: 2.506 MB / 0.8271 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.7373, allocations: 0.7502 MB / 0.8278 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.64e-05/0.7374, allocations: 33.31 kB / 0.8278 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.7375, allocations: 57.61 kB / 0.8279 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.7375, allocations: 0 / 0.8279 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.7609, allocations: 4.792 MB / 0.8326 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.524, allocations: 7.844 kB / 0.8326 GB, free: 11.32 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)