Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.001732/0.001732, allocations: 109.4 kB / 15.69 MB, free: 128 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.002379/0.002379, allocations: 186.7 kB / 16.62 MB, free: 6.582 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.766/1.766, 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.002919/0.00292, allocations: 72.27 kB / 0.6718 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2577, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.77/1.028, allocations: 174 MB / 0.9536 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009541/1.037, allocations: 9.509 MB / 0.9628 GB, free: 364 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/1.038, allocations: 9.625 kB / 0.9628 GB, free: 360 kB / 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.0007288/1.039, allocations: 199.9 kB / 0.963 GB, free: 280 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/1.039, allocations: 83.34 kB / 0.9631 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/1.039, allocations: 75.17 kB / 0.9632 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003776/1.039, allocations: 311.1 kB / 0.9635 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/1.04, allocations: 153.2 kB / 0.9636 GB, free: 144 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000349/1.04, allocations: 158.3 kB / 0.9638 GB, free: 132 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/1.04, allocations: 104.8 kB / 0.9639 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/1.04, allocations: 15.44 kB / 0.9639 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.531e-05/1.04, allocations: 16.06 kB / 0.9639 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/1.04, allocations: 36.89 kB / 0.9639 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/1.041, allocations: 99.06 kB / 0.964 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/1.041, allocations: 218.8 kB / 0.9643 GB, free: 108 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.041, allocations: 0 / 0.9643 GB, free: 108 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/1.041, allocations: 0 / 0.9643 GB, free: 108 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.041, allocations: 0 / 0.9643 GB, free: 108 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004794/1.041, allocations: 476.5 kB / 0.9647 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.041, allocations: 9.938 kB / 0.9647 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.028e-05/1.041, allocations: 54.41 kB / 0.9648 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/1.041, allocations: 29.81 kB / 0.9648 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/1.042, allocations: 259.1 kB / 0.965 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/1.042, allocations: 19.88 kB / 0.9651 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/1.042, allocations: 20.12 kB / 0.9651 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/1.042, allocations: 236.9 kB / 0.9653 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.042, allocations: 0 / 0.9653 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/1.042, allocations: 10.25 kB / 0.9653 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/1.042, allocations: 5.844 kB / 0.9653 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/1.043, allocations: 89.97 kB / 0.9654 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/1.044, allocations: 1.435 MB / 0.9668 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.455e-05/1.044, allocations: 173.5 kB / 0.967 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/1.044, allocations: 84.17 kB / 0.9671 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/1.044, allocations: 75.28 kB / 0.9671 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.399e-05/1.044, allocations: 116.1 kB / 0.9672 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/1.044, allocations: 0 / 0.9672 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.217e-05/1.044, allocations: 45.17 kB / 0.9673 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/1.044, allocations: 128 kB / 0.9674 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/1.044, allocations: 293.7 kB / 0.9677 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/1.044, allocations: 25.7 kB / 0.9677 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/1.044, allocations: 145.7 kB / 0.9678 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-06/1.044, allocations: 1.469 kB / 0.9678 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/1.044, allocations: 23.19 kB / 0.9679 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.045, allocations: 336.2 kB / 0.9682 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/1.045, allocations: 7.375 kB / 0.9682 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/1.045, allocations: 26.02 kB / 0.9682 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.849e-05/1.045, allocations: 37.06 kB / 0.9683 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.045, allocations: 0 / 0.9683 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/1.045, allocations: 70.55 kB / 0.9683 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.045, allocations: 5.938 kB / 0.9683 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.045, allocations: 1.312 kB / 0.9683 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.045, allocations: 1.094 kB / 0.9683 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/1.045, allocations: 8.312 kB / 0.9683 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.045, allocations: 6.25 kB / 0.9683 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/1.045, allocations: 21.55 kB / 0.9684 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/1.045, allocations: 2.812 kB / 0.9684 GB, free: 12.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001395/1.045, allocations: 205.7 kB / 0.9686 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/1.045, allocations: 125.9 kB / 0.9687 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.731e-05/1.045, allocations: 120.6 kB / 0.9688 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.018e-05/1.045, allocations: 185.6 kB / 0.969 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-05/1.046, allocations: 180 kB / 0.9691 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-05/1.046, allocations: 185.1 kB / 0.9693 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/1.046, allocations: 469.1 kB / 0.9698 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.095e-05/1.046, allocations: 106.2 kB / 0.9699 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/1.046, allocations: 104.2 kB / 0.97 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.463e-05/1.046, allocations: 181.5 kB / 0.9701 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.554e-05/1.046, allocations: 184.6 kB / 0.9703 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.959e-05/1.046, allocations: 179.9 kB / 0.9705 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.924e-05/1.046, allocations: 185.3 kB / 0.9707 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/1.046, allocations: 329.4 kB / 0.971 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/1.047, allocations: 205.8 kB / 0.9712 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.792e-05/1.047, allocations: 179.5 kB / 0.9714 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/1.047, allocations: 110.1 kB / 0.9715 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/1.047, allocations: 181.4 kB / 0.9716 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/1.047, allocations: 101 kB / 0.9717 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002315/1.047, allocations: 215.8 kB / 0.9719 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.047, allocations: 6.219 kB / 0.9719 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002592/1.047, allocations: 21.28 kB / 0.972 GB, free: 9.129 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.0004035/1.048, allocations: 0.8258 MB / 0.9728 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.539e-05/1.048, allocations: 16.78 kB / 0.9728 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.048, allocations: 0 / 0.9728 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/1.048, allocations: 1.531 kB / 0.9728 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007945/1.049, allocations: 0.5309 MB / 0.9733 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/1.051, allocations: 2.222 MB / 0.9755 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/1.051, allocations: 0.7278 MB / 0.9762 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001153/1.052, allocations: 25.16 kB / 0.9762 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/1.052, allocations: 56.86 kB / 0.9763 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of SimCode: time 1.332e-06/1.052, allocations: 0 / 0.9763 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/1.076, allocations: 4.637 MB / 0.9808 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.817, allocations: 11.17 kB / 0.9808 GB, free: 5.078 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)