Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.00123/0.00123, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001428/0.001428, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.267/1.267, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 286.6 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9155/0.9155, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 89 kB / 0.5948 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1338, allocations: 86.98 MB / 0.6797 GB, free: 0.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.3589/0.4928, allocations: 145.9 MB / 0.8222 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003588/0.4964, allocations: 4.6 MB / 0.8267 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.4966, allocations: 7.094 kB / 0.8267 GB, free: 0.6797 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 (2) 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 (2) 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.000402/0.497, allocations: 149.1 kB / 0.8268 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.4973, allocations: 71.45 kB / 0.8269 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.4974, allocations: 60.38 kB / 0.827 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.4976, allocations: 292 kB / 0.8273 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.4978, allocations: 112.8 kB / 0.8274 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.498, allocations: 107.9 kB / 0.8275 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.4981, allocations: 131.8 kB / 0.8276 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.4981, allocations: 9.688 kB / 0.8276 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.302e-05/0.4981, allocations: 14.25 kB / 0.8276 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.4982, allocations: 26.06 kB / 0.8276 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.4982, allocations: 78.61 kB / 0.8277 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.4983, allocations: 152.9 kB / 0.8279 GB, free: 400 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4984, allocations: 0 / 0.8279 GB, free: 400 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4984, allocations: 1.375 kB / 0.8279 GB, free: 400 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.4984, allocations: 0 / 0.8279 GB, free: 400 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003304/0.4987, allocations: 435.8 kB / 0.8283 GB, free: 16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.4987, allocations: 12.45 kB / 0.8283 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.4988, allocations: 51.84 kB / 0.8283 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.4988, allocations: 22.41 kB / 0.8284 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.499, allocations: 243 kB / 0.8286 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.499, allocations: 12.91 kB / 0.8286 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.499, allocations: 20.88 kB / 0.8286 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.4992, allocations: 209.2 kB / 0.8288 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4993, allocations: 0 / 0.8288 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4993, allocations: 6.75 kB / 0.8288 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.4993, allocations: 4.531 kB / 0.8288 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.4994, allocations: 71.36 kB / 0.8289 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.5001, allocations: 1.59 MB / 0.8305 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.925e-05/0.5002, allocations: 178.3 kB / 0.8306 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.5002, allocations: 84.52 kB / 0.8307 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.5003, allocations: 77.39 kB / 0.8308 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.5003, allocations: 110.9 kB / 0.8309 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5003, allocations: 0 / 0.8309 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.611e-05/0.5004, allocations: 46.64 kB / 0.8309 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.5004, allocations: 126.7 kB / 0.831 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.5006, allocations: 249.9 kB / 0.8313 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.5006, allocations: 30.7 kB / 0.8313 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.5007, allocations: 141.1 kB / 0.8314 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/0.5007, allocations: 3.188 kB / 0.8315 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.5007, allocations: 19.19 kB / 0.8315 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.5008, allocations: 330.4 kB / 0.8318 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.5008, allocations: 5.969 kB / 0.8318 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.5009, allocations: 54.09 kB / 0.8318 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.275e-05/0.5009, allocations: 56.42 kB / 0.8319 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5009, allocations: 0 / 0.8319 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001223/0.5011, allocations: 97.73 kB / 0.832 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.5011, allocations: 10.75 kB / 0.832 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5011, allocations: 5.375 kB / 0.832 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5011, allocations: 2.219 kB / 0.832 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.221e-05/0.5012, allocations: 14.38 kB / 0.832 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5012, allocations: 1.281 kB / 0.832 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.5012, allocations: 21.47 kB / 0.832 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.5012, allocations: 3.344 kB / 0.832 GB, free: 12.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 8.66e-05/0.5013, allocations: 206.3 kB / 0.8322 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.5014, allocations: 124.7 kB / 0.8324 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.5015, allocations: 118.3 kB / 0.8325 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.326e-05/0.5015, allocations: 183.9 kB / 0.8326 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.262e-05/0.5016, allocations: 177.3 kB / 0.8328 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.949e-05/0.5016, allocations: 177.4 kB / 0.833 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.5018, allocations: 466.2 kB / 0.8334 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/0.5018, allocations: 105 kB / 0.8335 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.5019, allocations: 104.9 kB / 0.8336 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-05/0.5019, allocations: 181.5 kB / 0.8338 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.502, allocations: 188.1 kB / 0.834 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.024e-05/0.502, allocations: 179.5 kB / 0.8342 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-05/0.5021, allocations: 183.8 kB / 0.8343 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.5022, allocations: 322 kB / 0.8346 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.5022, allocations: 199.8 kB / 0.8348 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.5023, allocations: 177.4 kB / 0.835 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.5024, allocations: 102.1 kB / 0.8351 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.5024, allocations: 191.3 kB / 0.8353 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.5025, allocations: 102.2 kB / 0.8354 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001198/0.5026, allocations: 183 kB / 0.8355 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5026, allocations: 0 / 0.8355 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002245/0.5028, allocations: 21.94 kB / 0.8356 GB, free: 9.133 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.0002826/0.5031, allocations: 0.832 MB / 0.8364 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.511e-05/0.5032, allocations: 22.28 kB / 0.8364 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5032, allocations: 0 / 0.8364 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.5032, allocations: 0.9688 kB / 0.8364 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.5038, allocations: 0.5063 MB / 0.8369 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.5053, allocations: 2.089 MB / 0.8389 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.5055, allocations: 0.711 MB / 0.8396 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.671e-05/0.5055, allocations: 20.36 kB / 0.8397 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.5056, allocations: 44.38 kB / 0.8397 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/0.5056, allocations: 0 / 0.8397 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6058/1.111, allocations: 3.443 MB / 0.8431 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/1.112, allocations: 230.7 kB / 0.8433 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.781, allocations: 0 / 0.8433 GB, free: 4.945 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)