Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_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.005036/0.005037, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001444/0.001444, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.337/1.337, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002404/0.002404, allocations: 280.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9655/0.9655, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002579/0.002579, allocations: 95.84 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3593, allocations: 86.98 MB / 0.7659 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1539/0.5133, allocations: 148 MB / 0.9105 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004787/0.5181, allocations: 4.65 MB / 0.915 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.5183, allocations: 12 kB / 0.915 GB, free: 10.66 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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/BuildingSystems 2.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/BuildingSystems 2.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/BuildingSystems 2.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.0004348/0.5187, allocations: 162.8 kB / 0.9152 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.519, allocations: 87.44 kB / 0.9153 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.5191, allocations: 63.92 kB / 0.9153 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.5195, allocations: 306.8 kB / 0.9156 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.5197, allocations: 149.8 kB / 0.9158 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.5199, allocations: 115.5 kB / 0.9159 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.5201, allocations: 151.5 kB / 0.916 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.5201, allocations: 16 kB / 0.916 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 2.963e-05/0.5202, allocations: 20 kB / 0.9161 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 7.483e-05/0.5203, allocations: 63.81 kB / 0.9161 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.5204, allocations: 107.4 kB / 0.9162 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.5206, allocations: 236.2 kB / 0.9164 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5206, allocations: 0 / 0.9164 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5206, allocations: 3.938 kB / 0.9164 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.5206, allocations: 0 / 0.9164 GB, free: 9.215 MB / 0.6856 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.0004758/0.5211, allocations: 494.9 kB / 0.9169 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.5212, allocations: 8.031 kB / 0.9169 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.5212, allocations: 58.73 kB / 0.917 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.5213, allocations: 24.8 kB / 0.917 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.5216, allocations: 276.5 kB / 0.9173 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.5216, allocations: 12.81 kB / 0.9173 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.5217, allocations: 28.31 kB / 0.9173 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.5221, allocations: 308.8 kB / 0.9176 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5221, allocations: 4 kB / 0.9176 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.5221, allocations: 12 kB / 0.9176 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.5221, allocations: 4 kB / 0.9176 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.5223, allocations: 123.7 kB / 0.9177 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.5236, allocations: 1.966 MB / 0.9197 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 9.062e-05/0.5237, allocations: 177.1 kB / 0.9198 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.5238, allocations: 84.12 kB / 0.9199 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.5238, allocations: 75.28 kB / 0.92 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.5239, allocations: 113.8 kB / 0.9201 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5239, allocations: 0 / 0.9201 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 8.002e-05/0.524, allocations: 53.5 kB / 0.9201 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.524, allocations: 130.7 kB / 0.9203 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.5244, allocations: 332.5 kB / 0.9206 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.5244, allocations: 29.64 kB / 0.9206 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.5245, allocations: 167.8 kB / 0.9208 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-06/0.5245, allocations: 0 / 0.9208 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.5246, allocations: 21.72 kB / 0.9208 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5247, allocations: 334.8 kB / 0.9211 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.5247, allocations: 4 kB / 0.9211 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.5248, allocations: 62.8 kB / 0.9212 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.501e-05/0.5249, allocations: 70.81 kB / 0.9212 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5249, allocations: 3.984 kB / 0.9212 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001641/0.5251, allocations: 101.5 kB / 0.9213 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.5251, allocations: 8.062 kB / 0.9213 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.5251, allocations: 7.938 kB / 0.9214 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.5251, allocations: 0 / 0.9214 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.5252, allocations: 19.92 kB / 0.9214 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5252, allocations: 4 kB / 0.9214 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/0.5253, allocations: 31.73 kB / 0.9214 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.5253, allocations: 4 kB / 0.9214 GB, free: 3.738 MB / 0.6856 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.0001303/0.5254, allocations: 209.1 kB / 0.9216 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.5255, allocations: 132.8 kB / 0.9217 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.927e-05/0.5256, allocations: 126 kB / 0.9219 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.971e-05/0.5257, allocations: 176.3 kB / 0.922 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-05/0.5258, allocations: 188.2 kB / 0.9222 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.559e-05/0.5258, allocations: 180.3 kB / 0.9224 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.5262, allocations: 481.1 kB / 0.9228 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-05/0.5262, allocations: 108.9 kB / 0.9229 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.334e-05/0.5263, allocations: 105 kB / 0.923 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.744e-05/0.5263, allocations: 180.2 kB / 0.9232 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.239e-05/0.5264, allocations: 180.2 kB / 0.9234 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.395e-05/0.5265, allocations: 188.2 kB / 0.9236 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.295e-05/0.5266, allocations: 184.3 kB / 0.9237 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.5267, allocations: 323.6 kB / 0.924 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.5269, allocations: 205.9 kB / 0.9242 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.589e-05/0.527, allocations: 188.1 kB / 0.9244 GB, free: 456 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.5271, allocations: 101 kB / 0.9245 GB, free: 348 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.5272, allocations: 188.5 kB / 0.9247 GB, free: 152 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.5272, allocations: 104.9 kB / 0.9248 GB, free: 40 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002441/0.5275, allocations: 239 kB / 0.925 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5275, allocations: 0 / 0.925 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003381/0.5278, allocations: 27.95 kB / 0.9251 GB, free: 15.78 MB / 0.7012 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.0004156/0.5282, allocations: 0.8398 MB / 0.9259 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 7.276e-05/0.5283, allocations: 23.92 kB / 0.9259 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5283, allocations: 0 / 0.9259 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.5283, allocations: 4 kB / 0.9259 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007256/0.529, allocations: 0.5171 MB / 0.9264 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.5315, allocations: 2.522 MB / 0.9289 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.5319, allocations: 0.744 MB / 0.9296 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 7.258e-05/0.532, allocations: 30.28 kB / 0.9296 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/0.532, allocations: 63.41 kB / 0.9297 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of SimCode: time 2.5e-07/0.532, allocations: 3.938 kB / 0.9297 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.276/1.808, allocations: 4.809 MB / 0.9344 GB, free: 6.234 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.829/11.64, allocations: 20.44 kB / 0.9344 GB, free: 6.219 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)