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.001191/0.001191, 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.0009792/0.0009791, allocations: 189.2 kB / 16.13 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.196/1.196, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001911/0.001911, allocations: 290.3 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8597/0.8597, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001557, allocations: 91.8 kB / 0.5946 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1308, allocations: 86.98 MB / 0.6795 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3815/0.5123, allocations: 145.8 MB / 0.8219 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003789/0.5161, allocations: 4.62 MB / 0.8264 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.5164, allocations: 9.562 kB / 0.8264 GB, free: 0.9883 MB / 0.5606 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.000398/0.5168, allocations: 131.2 kB / 0.8266 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.517, allocations: 76.66 kB / 0.8266 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.5171, allocations: 55.73 kB / 0.8267 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000303/0.5174, allocations: 370.5 kB / 0.8271 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.5176, allocations: 137.9 kB / 0.8272 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.5178, allocations: 106.9 kB / 0.8273 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.5179, allocations: 150.4 kB / 0.8274 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.518, allocations: 12.81 kB / 0.8274 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.981e-05/0.518, allocations: 12.47 kB / 0.8275 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.5181, allocations: 66.75 kB / 0.8275 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.915e-05/0.5182, allocations: 100.4 kB / 0.8276 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.5183, allocations: 220.3 kB / 0.8278 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5183, allocations: 4 kB / 0.8278 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.21e-07/0.5183, allocations: 3.938 kB / 0.8278 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.5184, allocations: 1.344 kB / 0.8278 GB, free: 0.6758 MB / 0.5606 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.0004018/0.5188, allocations: 494.8 kB / 0.8283 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.5188, allocations: 9.531 kB / 0.8283 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.5189, allocations: 55.95 kB / 0.8284 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.5189, allocations: 30.53 kB / 0.8284 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.5191, allocations: 256.3 kB / 0.8286 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.5192, allocations: 16.09 kB / 0.8287 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.5192, allocations: 21.19 kB / 0.8287 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.5195, allocations: 309.2 kB / 0.829 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.5195, allocations: 1.312 kB / 0.829 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.5195, allocations: 9.438 kB / 0.829 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.5195, allocations: 7.875 kB / 0.829 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.5197, allocations: 122 kB / 0.8291 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.5207, allocations: 1.982 MB / 0.831 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.73e-05/0.5208, allocations: 171.4 kB / 0.8312 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.5209, allocations: 80.14 kB / 0.8313 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.5209, allocations: 75.28 kB / 0.8313 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.5209, allocations: 110.8 kB / 0.8315 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.5209, allocations: 0 / 0.8315 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.514e-05/0.521, allocations: 60.64 kB / 0.8315 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.5211, allocations: 129 kB / 0.8316 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.5214, allocations: 326 kB / 0.8319 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.5214, allocations: 26.89 kB / 0.832 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.5215, allocations: 162.9 kB / 0.8321 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.5215, allocations: 1.125 kB / 0.8321 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.5215, allocations: 27.72 kB / 0.8322 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5216, allocations: 333.9 kB / 0.8325 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.5217, allocations: 10.72 kB / 0.8325 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/0.5217, allocations: 53.34 kB / 0.8325 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.158e-05/0.5218, allocations: 69.78 kB / 0.8326 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5218, allocations: 4.812 kB / 0.8326 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001418/0.5219, allocations: 107 kB / 0.8327 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5219, allocations: 5.312 kB / 0.8327 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.522, allocations: 2.344 kB / 0.8327 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.522, allocations: 6.188 kB / 0.8327 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.741e-05/0.522, allocations: 13.28 kB / 0.8327 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.522, allocations: 2.469 kB / 0.8327 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.636e-05/0.5221, allocations: 31.5 kB / 0.8328 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.5221, allocations: 8.594 kB / 0.8328 GB, free: 12.62 MB / 0.5762 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.0001148/0.5223, allocations: 222.2 kB / 0.833 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.5223, allocations: 124.1 kB / 0.8331 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.5224, allocations: 131 kB / 0.8332 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.433e-05/0.5225, allocations: 182 kB / 0.8334 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.852e-05/0.5225, allocations: 181.4 kB / 0.8336 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.363e-05/0.5226, allocations: 182.8 kB / 0.8338 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.5228, allocations: 474.2 kB / 0.8342 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/0.5229, allocations: 110.1 kB / 0.8343 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.5229, allocations: 102.2 kB / 0.8344 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.447e-05/0.523, allocations: 181.4 kB / 0.8346 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/0.523, allocations: 190.2 kB / 0.8348 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-05/0.5231, allocations: 177.4 kB / 0.8349 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.498e-05/0.5231, allocations: 181.6 kB / 0.8351 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.5233, allocations: 331.6 kB / 0.8354 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/0.5234, allocations: 204.4 kB / 0.8356 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-05/0.5234, allocations: 184.2 kB / 0.8358 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.5235, allocations: 106 kB / 0.8359 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.5236, allocations: 177.5 kB / 0.8361 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.5236, allocations: 107.5 kB / 0.8362 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002053/0.5238, allocations: 239.4 kB / 0.8364 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5239, allocations: 4 kB / 0.8364 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002349/0.5241, allocations: 24.78 kB / 0.8364 GB, free: 9.039 MB / 0.5762 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.000332/0.5244, allocations: 0.823 MB / 0.8372 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.761e-05/0.5245, allocations: 31.05 kB / 0.8373 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5245, allocations: 1.094 kB / 0.8373 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.5245, allocations: 3.938 kB / 0.8373 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.5252, allocations: 0.588 MB / 0.8378 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.5273, allocations: 2.558 MB / 0.8403 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.5276, allocations: 0.7505 MB / 0.8411 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.717e-05/0.5277, allocations: 29.91 kB / 0.8411 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.5278, allocations: 60.2 kB / 0.8411 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.5278, allocations: 0 / 0.8411 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.033/2.56, allocations: 4.538 MB / 0.8456 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/2.561, allocations: 231.1 kB / 0.8458 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/4.437, allocations: 4 kB / 0.8458 GB, free: 3.375 MB / 0.5762 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)