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.001051/0.001051, allocations: 108 kB / 15.61 MB, free: 152 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.001199/0.0012, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.333/1.333, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.648/1.648, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.0014/0.0014, allocations: 69.45 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2045, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.5059/0.7105, allocations: 148 MB / 0.928 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003757/0.7143, allocations: 4.634 MB / 0.9325 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.7146, allocations: 7.594 kB / 0.9325 GB, free: 4.969 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.0005486/0.7151, allocations: 170.1 kB / 0.9327 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.7154, allocations: 78.64 kB / 0.9327 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.7155, allocations: 67.22 kB / 0.9328 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.7158, allocations: 299.5 kB / 0.9331 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.716, allocations: 110 kB / 0.9332 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.7161, allocations: 104.8 kB / 0.9333 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.7163, allocations: 134.5 kB / 0.9334 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.7163, allocations: 10.5 kB / 0.9334 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.208e-05/0.7164, allocations: 12.84 kB / 0.9334 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.7164, allocations: 25.83 kB / 0.9335 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.7165, allocations: 79.45 kB / 0.9335 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.7166, allocations: 148 kB / 0.9337 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.7166, allocations: 0 / 0.9337 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7166, allocations: 0 / 0.9337 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.7166, allocations: 1.094 kB / 0.9337 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.0005293/0.7172, allocations: 447.8 kB / 0.9341 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.7172, allocations: 9.062 kB / 0.9341 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.7173, allocations: 49.7 kB / 0.9342 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.7173, allocations: 20.97 kB / 0.9342 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.7175, allocations: 239.4 kB / 0.9344 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.7176, allocations: 10.95 kB / 0.9344 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.7176, allocations: 19.28 kB / 0.9344 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.7178, allocations: 207.5 kB / 0.9346 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.7178, allocations: 1.344 kB / 0.9346 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.7178, allocations: 10.92 kB / 0.9347 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.7178, allocations: 5.016 kB / 0.9347 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.732e-05/0.718, allocations: 81.39 kB / 0.9347 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008254/0.7188, allocations: 1.59 MB / 0.9363 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.14e-05/0.7189, allocations: 175.9 kB / 0.9365 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.7189, allocations: 83.64 kB / 0.9365 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.7189, allocations: 75.28 kB / 0.9366 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.719, allocations: 112.9 kB / 0.9367 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.719, allocations: 0 / 0.9367 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.154e-05/0.719, allocations: 44.39 kB / 0.9368 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.7191, allocations: 129 kB / 0.9369 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.7193, allocations: 254.5 kB / 0.9371 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.7193, allocations: 25.7 kB / 0.9372 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.7194, allocations: 135.2 kB / 0.9373 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.7194, allocations: 0.9844 kB / 0.9373 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.7194, allocations: 27.33 kB / 0.9373 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.7195, allocations: 327.7 kB / 0.9376 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.7196, allocations: 3.984 kB / 0.9376 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.7196, allocations: 48.55 kB / 0.9377 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.7196, allocations: 62.97 kB / 0.9377 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7196, allocations: 5.312 kB / 0.9377 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001396/0.7198, allocations: 92.05 kB / 0.9378 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.7198, allocations: 6.438 kB / 0.9378 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.7198, allocations: 4.938 kB / 0.9378 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.7198, allocations: 0 / 0.9378 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.037e-05/0.7199, allocations: 14.25 kB / 0.9378 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.7199, allocations: 4.031 kB / 0.9379 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.72, allocations: 24.75 kB / 0.9379 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.72, allocations: 3.75 kB / 0.9379 GB, free: 17.28 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 8.984e-05/0.7201, allocations: 206.9 kB / 0.9381 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.7201, allocations: 118.5 kB / 0.9382 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.7202, allocations: 120.5 kB / 0.9383 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.555e-05/0.7202, allocations: 179.9 kB / 0.9385 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.022e-05/0.7203, allocations: 184.7 kB / 0.9387 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.397e-05/0.7203, allocations: 180.9 kB / 0.9388 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.7206, allocations: 459.3 kB / 0.9393 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/0.7206, allocations: 103.8 kB / 0.9394 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.7206, allocations: 109.9 kB / 0.9395 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.517e-05/0.7207, allocations: 179.3 kB / 0.9396 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.7207, allocations: 182.8 kB / 0.9398 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.673e-05/0.7208, allocations: 185.5 kB / 0.94 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.562e-05/0.7208, allocations: 177.3 kB / 0.9402 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.721, allocations: 327.4 kB / 0.9405 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.721, allocations: 206 kB / 0.9407 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.279e-05/0.7211, allocations: 181.3 kB / 0.9408 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.7212, allocations: 106.5 kB / 0.9409 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.7213, allocations: 179.5 kB / 0.9411 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.7213, allocations: 103.3 kB / 0.9412 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001293/0.7214, allocations: 177.1 kB / 0.9414 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.82e-07/0.7214, allocations: 0 / 0.9414 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002343/0.7217, allocations: 24.44 kB / 0.9414 GB, free: 13.75 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.0003156/0.722, allocations: 0.8282 MB / 0.9422 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.943e-05/0.7221, allocations: 23.8 kB / 0.9422 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7221, allocations: 448 / 0.9422 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.7221, allocations: 7.547 kB / 0.9422 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.0006094/0.7227, allocations: 0.4968 MB / 0.9427 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.7243, allocations: 2.047 MB / 0.9447 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.7245, allocations: 0.7171 MB / 0.9454 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.886e-05/0.7246, allocations: 19.2 kB / 0.9454 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.7247, allocations: 52.55 kB / 0.9455 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7247, allocations: 0 / 0.9455 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/0.8396, allocations: 3.518 MB / 0.9489 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/9.358, allocations: 7.828 kB / 0.9489 GB, free: 9.742 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 & /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)