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.004894/0.004894, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.001173/0.001173, allocations: 190.8 kB / 16.67 MB, free: 5.977 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.812/0.812, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 66.52 kB / 0.5852 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.176, allocations: 80.92 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.5897/0.7657, allocations: 148 MB / 0.8087 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004301/0.7701, allocations: 4.641 MB / 0.8132 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.7704, allocations: 10.5 kB / 0.8133 GB, free: 11.14 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.0006232/0.7711, allocations: 174.8 kB / 0.8134 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.7714, allocations: 83.48 kB / 0.8135 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.7716, allocations: 63.17 kB / 0.8136 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.7721, allocations: 305.9 kB / 0.8139 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.7724, allocations: 148.1 kB / 0.814 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.7726, allocations: 112.2 kB / 0.8141 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.7729, allocations: 160.7 kB / 0.8143 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.7729, allocations: 16.5 kB / 0.8143 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.829e-05/0.773, allocations: 15.12 kB / 0.8143 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.7731, allocations: 60.45 kB / 0.8143 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.7732, allocations: 113.8 kB / 0.8145 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.7735, allocations: 239.8 kB / 0.8147 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.7735, allocations: 0 / 0.8147 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.847e-06/0.7736, allocations: 0 / 0.8147 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.7736, allocations: 3.938 kB / 0.8147 GB, free: 10.39 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.0005952/0.7742, allocations: 493.2 kB / 0.8152 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.7742, allocations: 10.7 kB / 0.8152 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.714e-05/0.7743, allocations: 54.98 kB / 0.8152 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.7744, allocations: 29.03 kB / 0.8152 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.7749, allocations: 267.7 kB / 0.8155 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.7749, allocations: 16.69 kB / 0.8155 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.775, allocations: 22.56 kB / 0.8155 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.7754, allocations: 306.5 kB / 0.8158 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.7754, allocations: 6.812 kB / 0.8158 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.7755, allocations: 6.312 kB / 0.8158 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.7755, allocations: 7.781 kB / 0.8159 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.7757, allocations: 128.1 kB / 0.816 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.7772, allocations: 1.967 MB / 0.8179 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.418e-05/0.7773, allocations: 167.7 kB / 0.8181 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.7773, allocations: 84.14 kB / 0.8181 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.7774, allocations: 75.28 kB / 0.8182 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/0.7774, allocations: 120.2 kB / 0.8183 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.7774, allocations: 0 / 0.8183 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.096e-05/0.7775, allocations: 47.48 kB / 0.8184 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.7776, allocations: 130.7 kB / 0.8185 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.778, allocations: 324.7 kB / 0.8188 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.778, allocations: 29.7 kB / 0.8188 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.7782, allocations: 164.2 kB / 0.819 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/0.7782, allocations: 0 / 0.819 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.7782, allocations: 29.53 kB / 0.819 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7784, allocations: 331.6 kB / 0.8193 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.7784, allocations: 5.625 kB / 0.8193 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.7785, allocations: 62.2 kB / 0.8194 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.891e-05/0.7786, allocations: 66.88 kB / 0.8195 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7786, allocations: 2.875 kB / 0.8195 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001933/0.7788, allocations: 106.8 kB / 0.8196 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.7788, allocations: 11.69 kB / 0.8196 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7788, allocations: 256 / 0.8196 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.7788, allocations: 6.562 kB / 0.8196 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.7789, allocations: 20.41 kB / 0.8196 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.7789, allocations: 6.578 kB / 0.8196 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.508e-05/0.779, allocations: 23.19 kB / 0.8196 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.779, allocations: 4.719 kB / 0.8196 GB, free: 5.641 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.0001516/0.7792, allocations: 209.3 kB / 0.8198 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.7793, allocations: 131.4 kB / 0.82 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.229e-05/0.7794, allocations: 138.2 kB / 0.8201 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.336e-05/0.7794, allocations: 180.3 kB / 0.8203 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.897e-05/0.7795, allocations: 182.7 kB / 0.8204 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.765e-05/0.7796, allocations: 180.3 kB / 0.8206 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.7799, allocations: 479.8 kB / 0.8211 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.256e-05/0.78, allocations: 101 kB / 0.8212 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.78, allocations: 108.9 kB / 0.8213 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.949e-05/0.7801, allocations: 190.2 kB / 0.8214 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.597e-05/0.7802, allocations: 180.3 kB / 0.8216 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.199e-05/0.7803, allocations: 182.7 kB / 0.8218 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.128e-05/0.7804, allocations: 176.3 kB / 0.822 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.7805, allocations: 338.8 kB / 0.8223 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.7807, allocations: 201.5 kB / 0.8225 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.7808, allocations: 188.2 kB / 0.8227 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.7809, allocations: 103.2 kB / 0.8228 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.781, allocations: 184.2 kB / 0.8229 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.781, allocations: 103.9 kB / 0.823 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002584/0.7813, allocations: 235.6 kB / 0.8233 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7813, allocations: 0 / 0.8233 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000277/0.7816, allocations: 32.97 kB / 0.8233 GB, free: 1.875 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.0004736/0.7821, allocations: 0.8349 MB / 0.8241 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.885e-05/0.7822, allocations: 27.17 kB / 0.8241 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7822, allocations: 0 / 0.8241 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.7822, allocations: 0 / 0.8241 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.7829, allocations: 0.5177 MB / 0.8246 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.7855, allocations: 2.509 MB / 0.8271 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.7859, allocations: 0.7468 MB / 0.8278 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.786, allocations: 29.09 kB / 0.8278 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.7861, allocations: 58.17 kB / 0.8279 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of SimCode: time 2.134e-06/0.7861, allocations: 0 / 0.8279 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.8093, allocations: 4.862 MB / 0.8326 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.689, allocations: 7.188 kB / 0.8326 GB, free: 11.36 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)