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.001406/0.001406, 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.001713/0.001713, allocations: 197.4 kB / 16.14 MB, free: 6.66 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.394/1.394, allocations: 205.1 MB / 222 MB, free: 4.723 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.683/1.683, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.00139/0.00139, allocations: 68.41 kB / 0.6709 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2145, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.57/0.7845, allocations: 145.8 MB / 0.9252 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004073/0.7886, allocations: 4.609 MB / 0.9297 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.7888, allocations: 9.469 kB / 0.9297 GB, free: 6.32 MB / 0.7325 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.0004807/0.7894, allocations: 130.8 kB / 0.9298 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.7896, allocations: 80.67 kB / 0.9299 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.7897, allocations: 52.16 kB / 0.9299 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.7901, allocations: 361 kB / 0.9303 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.7904, allocations: 103 kB / 0.9304 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.7905, allocations: 101.6 kB / 0.9305 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.7907, allocations: 135.3 kB / 0.9306 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.7907, allocations: 7.844 kB / 0.9306 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.504e-05/0.7908, allocations: 7.656 kB / 0.9306 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.7908, allocations: 33.31 kB / 0.9306 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.7909, allocations: 72.53 kB / 0.9307 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.791, allocations: 143.4 kB / 0.9308 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.791, allocations: 2.812 kB / 0.9308 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7911, allocations: 2.906 kB / 0.9308 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.7911, allocations: 1.203 kB / 0.9308 GB, free: 6.277 MB / 0.7325 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.0005022/0.7916, allocations: 450.2 kB / 0.9313 GB, free: 21.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7916, allocations: 10.12 kB / 0.9313 GB, free: 21.88 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.7917, allocations: 47.11 kB / 0.9313 GB, free: 21.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.7917, allocations: 19.22 kB / 0.9313 GB, free: 21.83 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.7919, allocations: 242.1 kB / 0.9316 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.792, allocations: 11.62 kB / 0.9316 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.792, allocations: 21.38 kB / 0.9316 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.7922, allocations: 210.6 kB / 0.9318 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.7923, allocations: 4.656 kB / 0.9318 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.7923, allocations: 5.531 kB / 0.9318 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.7923, allocations: 8.547 kB / 0.9318 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.7924, allocations: 68.78 kB / 0.9319 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008287/0.7932, allocations: 1.585 MB / 0.9334 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.7933, allocations: 184.3 kB / 0.9336 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.7934, allocations: 80.14 kB / 0.9337 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.7934, allocations: 75.28 kB / 0.9338 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.7934, allocations: 105.8 kB / 0.9339 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.7934, allocations: 0 / 0.9339 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 7.051e-05/0.7935, allocations: 48.28 kB / 0.9339 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.7936, allocations: 133.7 kB / 0.934 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.7938, allocations: 246.4 kB / 0.9343 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.7938, allocations: 26.8 kB / 0.9343 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/0.7939, allocations: 145.7 kB / 0.9344 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.7939, allocations: 2.281 kB / 0.9344 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.7939, allocations: 19.22 kB / 0.9345 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.794, allocations: 330.7 kB / 0.9348 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.794, allocations: 7.672 kB / 0.9348 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.7941, allocations: 52.39 kB / 0.9348 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.7941, allocations: 63.3 kB / 0.9349 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7941, allocations: 2.844 kB / 0.9349 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001318/0.7942, allocations: 90.48 kB / 0.935 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.7943, allocations: 6.938 kB / 0.935 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7943, allocations: 7.25 kB / 0.935 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.7943, allocations: 3.094 kB / 0.935 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.7944, allocations: 14.88 kB / 0.935 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.7944, allocations: 2.906 kB / 0.935 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.7944, allocations: 21.38 kB / 0.935 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.7944, allocations: 4.781 kB / 0.935 GB, free: 18.65 MB / 0.7481 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 9.543e-05/0.7945, allocations: 199.5 kB / 0.9352 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.7946, allocations: 122.7 kB / 0.9353 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.7947, allocations: 122.6 kB / 0.9355 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.624e-05/0.7947, allocations: 184.2 kB / 0.9356 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.313e-05/0.7948, allocations: 185.1 kB / 0.9358 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.772e-05/0.7948, allocations: 176.3 kB / 0.936 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.795, allocations: 462.5 kB / 0.9364 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/0.7951, allocations: 105 kB / 0.9365 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.7951, allocations: 106.9 kB / 0.9366 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.907e-05/0.7952, allocations: 176.3 kB / 0.9368 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.7952, allocations: 179.2 kB / 0.937 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.068e-05/0.7953, allocations: 182.4 kB / 0.9371 GB, free: 16.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.865e-05/0.7953, allocations: 184.4 kB / 0.9373 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.7955, allocations: 325.4 kB / 0.9376 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.7956, allocations: 202.4 kB / 0.9378 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.069e-05/0.7956, allocations: 182 kB / 0.938 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.7957, allocations: 104 kB / 0.9381 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.7958, allocations: 184.4 kB / 0.9383 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.7958, allocations: 107.8 kB / 0.9384 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001267/0.7959, allocations: 178.3 kB / 0.9385 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7959, allocations: 0 / 0.9385 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002384/0.7962, allocations: 17.06 kB / 0.9386 GB, free: 15.12 MB / 0.7481 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.0003239/0.7965, allocations: 0.8296 MB / 0.9394 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.892e-05/0.7966, allocations: 21.45 kB / 0.9394 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7966, allocations: 1.203 kB / 0.9394 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.7966, allocations: 0 / 0.9394 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.7973, allocations: 0.5787 MB / 0.94 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.7989, allocations: 2.072 MB / 0.942 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.7991, allocations: 0.7088 MB / 0.9427 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.781e-05/0.7992, allocations: 22.27 kB / 0.9427 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.7993, allocations: 42.73 kB / 0.9427 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of SimCode: time 1.673e-06/0.7993, allocations: 0 / 0.9427 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.981/1.78, allocations: 3.348 MB / 0.946 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/1.781, allocations: 208.7 kB / 0.9462 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/3.981, allocations: 0 / 0.9462 GB, free: 10.93 MB / 0.7481 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)