Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_8_Buildings_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.001494/0.001494, allocations: 105.4 kB / 15.7 MB, free: 24 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.001102/0.001102, allocations: 195.3 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.826/1.826, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 78.28 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2511, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.6479/0.8991, allocations: 148 MB / 0.9281 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004788/0.9039, allocations: 4.632 MB / 0.9327 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.9043, allocations: 12.47 kB / 0.9327 GB, free: 4.973 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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.0005447/0.9049, allocations: 165.8 kB / 0.9328 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.9052, allocations: 86.92 kB / 0.9329 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.9053, allocations: 59.09 kB / 0.933 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.9056, allocations: 298.8 kB / 0.9332 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.9058, allocations: 114.1 kB / 0.9334 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.906, allocations: 103.2 kB / 0.9335 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.9062, allocations: 131.2 kB / 0.9336 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.9062, allocations: 10.66 kB / 0.9336 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.392e-05/0.9063, allocations: 10.5 kB / 0.9336 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.9063, allocations: 32.64 kB / 0.9336 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.9064, allocations: 77.47 kB / 0.9337 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.9066, allocations: 155.6 kB / 0.9339 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9066, allocations: 4 kB / 0.9339 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9066, allocations: 0 / 0.9339 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.9066, allocations: 0 / 0.9339 GB, free: 4.918 MB / 0.7169 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.0007139/0.9073, allocations: 442.5 kB / 0.9343 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.9074, allocations: 7.938 kB / 0.9343 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.424e-05/0.9075, allocations: 52.31 kB / 0.9343 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.9075, allocations: 18.64 kB / 0.9344 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.9079, allocations: 254.3 kB / 0.9346 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.9079, allocations: 13.47 kB / 0.9346 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.9079, allocations: 17.36 kB / 0.9346 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.9082, allocations: 210.4 kB / 0.9348 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.9082, allocations: 2.25 kB / 0.9348 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.9082, allocations: 6.375 kB / 0.9348 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.9082, allocations: 3.5 kB / 0.9348 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.9084, allocations: 71.05 kB / 0.9349 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.9094, allocations: 1.594 MB / 0.9365 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.9095, allocations: 177.4 kB / 0.9366 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.9095, allocations: 83.77 kB / 0.9367 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.9096, allocations: 75.28 kB / 0.9368 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.9096, allocations: 106.9 kB / 0.9369 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.9096, allocations: 1.203 kB / 0.9369 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.56e-05/0.9097, allocations: 43.92 kB / 0.9369 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.9098, allocations: 138.7 kB / 0.9371 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.9101, allocations: 248.4 kB / 0.9373 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.9101, allocations: 25.7 kB / 0.9373 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.9102, allocations: 142.2 kB / 0.9375 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.9102, allocations: 0 / 0.9375 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.9102, allocations: 19.64 kB / 0.9375 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.9103, allocations: 330 kB / 0.9378 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.9104, allocations: 4.469 kB / 0.9378 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.109e-05/0.9104, allocations: 56.52 kB / 0.9379 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.547e-05/0.9105, allocations: 63.25 kB / 0.9379 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9105, allocations: 0 / 0.9379 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001583/0.9106, allocations: 92.5 kB / 0.938 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.9107, allocations: 6.812 kB / 0.938 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.9107, allocations: 5.188 kB / 0.938 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.9107, allocations: 3.031 kB / 0.938 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/0.9108, allocations: 13.67 kB / 0.938 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.9108, allocations: 3.188 kB / 0.938 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.9108, allocations: 23.69 kB / 0.9381 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.9108, allocations: 0.8125 kB / 0.9381 GB, free: 17.29 MB / 0.7325 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 0.0001095/0.911, allocations: 201.1 kB / 0.9382 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.911, allocations: 119.6 kB / 0.9384 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.806e-05/0.9111, allocations: 130.3 kB / 0.9385 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.518e-05/0.9112, allocations: 179.3 kB / 0.9387 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.068e-05/0.9112, allocations: 178.5 kB / 0.9388 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.323e-05/0.9113, allocations: 179.1 kB / 0.939 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.9116, allocations: 459.1 kB / 0.9394 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.413e-05/0.9116, allocations: 109.3 kB / 0.9395 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.9117, allocations: 111.3 kB / 0.9396 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.787e-05/0.9118, allocations: 180.8 kB / 0.9398 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.109e-05/0.9118, allocations: 177 kB / 0.94 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.307e-05/0.9119, allocations: 184.1 kB / 0.9402 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.462e-05/0.912, allocations: 179.5 kB / 0.9403 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.9121, allocations: 324 kB / 0.9406 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.9122, allocations: 202.9 kB / 0.9408 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/0.9123, allocations: 182 kB / 0.941 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.9124, allocations: 101.3 kB / 0.9411 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.9124, allocations: 184.8 kB / 0.9413 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.9125, allocations: 108.8 kB / 0.9414 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000155/0.9126, allocations: 182.8 kB / 0.9416 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9126, allocations: 0 / 0.9416 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002666/0.9129, allocations: 18 kB / 0.9416 GB, free: 13.76 MB / 0.7325 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.0004169/0.9133, allocations: 0.8332 MB / 0.9424 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.449e-05/0.9134, allocations: 19.67 kB / 0.9424 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9134, allocations: 2.75 kB / 0.9424 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.9134, allocations: 0 / 0.9424 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.9141, allocations: 0.5045 MB / 0.9429 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.916, allocations: 2.051 MB / 0.9449 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.9163, allocations: 0.7121 MB / 0.9456 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.716e-05/0.9164, allocations: 24.7 kB / 0.9456 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.9165, allocations: 41.34 kB / 0.9457 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of SimCode: time 1.543e-06/0.9165, allocations: 0.6562 kB / 0.9457 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.9377, allocations: 3.538 MB / 0.9491 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/8.491, allocations: 9.531 kB / 0.9491 GB, free: 9.766 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)