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.001173/0.001173, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.2/1.2, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001978/0.001978, allocations: 286.7 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8725/0.8725, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 101.8 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1201, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3675/0.4876, allocations: 148 MB / 0.8248 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003561/0.4912, allocations: 4.645 MB / 0.8293 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.4914, allocations: 10.59 kB / 0.8294 GB, free: 1.211 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.0003937/0.4918, allocations: 161.3 kB / 0.8295 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.492, allocations: 95.58 kB / 0.8296 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.4921, allocations: 66 kB / 0.8297 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.4924, allocations: 295.8 kB / 0.8299 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.4926, allocations: 155.2 kB / 0.8301 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.4928, allocations: 114.6 kB / 0.8302 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.4929, allocations: 150.1 kB / 0.8303 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.493, allocations: 20.56 kB / 0.8304 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.912e-05/0.493, allocations: 15.84 kB / 0.8304 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.4931, allocations: 63.27 kB / 0.8304 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.815e-05/0.4931, allocations: 99.75 kB / 0.8305 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.4933, allocations: 231.2 kB / 0.8308 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4933, allocations: 0 / 0.8308 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4933, allocations: 1.156 kB / 0.8308 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4933, allocations: 0 / 0.8308 GB, free: 0.8789 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.0003863/0.4937, allocations: 488.5 kB / 0.8312 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.4938, allocations: 8.781 kB / 0.8312 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.4938, allocations: 58.44 kB / 0.8313 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.4938, allocations: 30.06 kB / 0.8313 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.4941, allocations: 255.2 kB / 0.8316 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.4941, allocations: 13.66 kB / 0.8316 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.4941, allocations: 25.84 kB / 0.8316 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.4944, allocations: 310.7 kB / 0.8319 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4944, allocations: 4.969 kB / 0.8319 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.4945, allocations: 9.969 kB / 0.8319 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4945, allocations: 6.812 kB / 0.8319 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.4946, allocations: 127.8 kB / 0.832 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009539/0.4956, allocations: 1.97 MB / 0.834 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/0.4957, allocations: 170.4 kB / 0.8341 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.4957, allocations: 84.08 kB / 0.8342 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.4957, allocations: 78.3 kB / 0.8343 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.4957, allocations: 109.8 kB / 0.8344 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.4957, allocations: 0 / 0.8344 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.971e-05/0.4958, allocations: 53.27 kB / 0.8344 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.4959, allocations: 126.7 kB / 0.8346 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.4961, allocations: 331.9 kB / 0.8349 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.4962, allocations: 25.7 kB / 0.8349 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.4962, allocations: 163.2 kB / 0.835 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.4963, allocations: 11.5 kB / 0.8351 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.4963, allocations: 25.08 kB / 0.8351 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.4964, allocations: 334.1 kB / 0.8354 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.4964, allocations: 11.05 kB / 0.8354 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.4964, allocations: 52.78 kB / 0.8355 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.862e-05/0.4965, allocations: 80.2 kB / 0.8355 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4965, allocations: 1.094 kB / 0.8355 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001402/0.4966, allocations: 91.02 kB / 0.8356 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.4967, allocations: 6.625 kB / 0.8356 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4967, allocations: 1.188 kB / 0.8356 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4967, allocations: 8.891 kB / 0.8356 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/0.4968, allocations: 16.25 kB / 0.8357 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4968, allocations: 6.469 kB / 0.8357 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.091e-05/0.4968, allocations: 32.94 kB / 0.8357 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.4969, allocations: 6.75 kB / 0.8357 GB, free: 12.82 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 9.675e-05/0.497, allocations: 210.5 kB / 0.8359 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.497, allocations: 130.2 kB / 0.836 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.4971, allocations: 127.7 kB / 0.8361 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.591e-05/0.4971, allocations: 191.8 kB / 0.8363 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-05/0.4972, allocations: 177.5 kB / 0.8365 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.352e-05/0.4972, allocations: 180.4 kB / 0.8367 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.4975, allocations: 482.8 kB / 0.8371 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-05/0.4975, allocations: 102.4 kB / 0.8372 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.4975, allocations: 106.9 kB / 0.8373 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.331e-05/0.4976, allocations: 181.6 kB / 0.8375 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.4976, allocations: 184.2 kB / 0.8377 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.265e-05/0.4977, allocations: 180.2 kB / 0.8379 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.894e-05/0.4977, allocations: 180.7 kB / 0.838 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.4978, allocations: 335.9 kB / 0.8383 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.4979, allocations: 203.4 kB / 0.8385 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.498, allocations: 190.8 kB / 0.8387 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.4981, allocations: 102.2 kB / 0.8388 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.4981, allocations: 181.1 kB / 0.839 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.4982, allocations: 105.4 kB / 0.8391 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001871/0.4984, allocations: 240.8 kB / 0.8393 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.553e-06/0.4984, allocations: 0 / 0.8393 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002398/0.4986, allocations: 31.53 kB / 0.8394 GB, free: 9.227 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.0002983/0.4989, allocations: 0.8285 MB / 0.8402 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.621e-05/0.499, allocations: 29.88 kB / 0.8402 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.499, allocations: 0 / 0.8402 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.148e-06/0.499, allocations: 7.312 kB / 0.8402 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/0.4996, allocations: 0.5173 MB / 0.8407 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.5016, allocations: 2.522 MB / 0.8432 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.5019, allocations: 0.7441 MB / 0.8439 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.911e-05/0.502, allocations: 31.12 kB / 0.8439 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.502, allocations: 58.69 kB / 0.844 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/0.502, allocations: 0 / 0.844 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3634/0.8654, allocations: 4.744 MB / 0.8486 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.655, allocations: 14.14 kB / 0.8486 GB, free: 3.941 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)