Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001589/0.001589, allocations: 108 kB / 15.6 MB, free: 132 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.001281/0.001281, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 283.1 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9361/0.9361, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 97.7 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1298, allocations: 86.97 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4029/0.5327, allocations: 170.3 MB / 0.8466 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00543/0.5382, allocations: 6.007 MB / 0.8525 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.5384, allocations: 11.97 kB / 0.8525 GB, free: 11.41 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) 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/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004977/0.5389, allocations: 192.8 kB / 0.8527 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.5392, allocations: 87.06 kB / 0.8527 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009031/0.5401, allocations: 0.5187 MB / 0.8533 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.5405, allocations: 416.1 kB / 0.8537 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.5407, allocations: 136.6 kB / 0.8538 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.5409, allocations: 184.8 kB / 0.854 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.5411, allocations: 148.7 kB / 0.8541 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.5412, allocations: 16.06 kB / 0.8541 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006408/0.5418, allocations: 456.3 kB / 0.8546 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.5419, allocations: 76.7 kB / 0.8546 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.104e-05/0.542, allocations: 109.3 kB / 0.8547 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.5425, allocations: 433.5 kB / 0.8551 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5425, allocations: 0 / 0.8551 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5425, allocations: 0 / 0.8551 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5425, allocations: 3.938 kB / 0.8551 GB, free: 9.629 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005017/0.543, allocations: 0.5237 MB / 0.8557 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.5431, allocations: 14.28 kB / 0.8557 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.5431, allocations: 58.77 kB / 0.8557 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.5434, allocations: 45.23 kB / 0.8558 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.5436, allocations: 246.5 kB / 0.856 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.5438, allocations: 131.4 kB / 0.8561 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.5438, allocations: 27.16 kB / 0.8562 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.5442, allocations: 290.8 kB / 0.8564 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5442, allocations: 7.938 kB / 0.8564 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.5442, allocations: 10.66 kB / 0.8565 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5442, allocations: 7.844 kB / 0.8565 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.5445, allocations: 158.3 kB / 0.8566 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.5457, allocations: 1.584 MB / 0.8582 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.546e-05/0.5458, allocations: 171.5 kB / 0.8583 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.5458, allocations: 84.14 kB / 0.8584 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.5459, allocations: 75.28 kB / 0.8585 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.5459, allocations: 105.8 kB / 0.8586 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 2.384e-06/0.5459, allocations: 4 kB / 0.8586 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.399e-05/0.546, allocations: 50.94 kB / 0.8586 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.5461, allocations: 126.7 kB / 0.8587 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.5464, allocations: 316.4 kB / 0.859 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.5464, allocations: 25.7 kB / 0.8591 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.5465, allocations: 190.6 kB / 0.8593 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-06/0.5465, allocations: 3.984 kB / 0.8593 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.5466, allocations: 42.47 kB / 0.8593 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5467, allocations: 340.6 kB / 0.8596 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.273e-05/0.5468, allocations: 37.56 kB / 0.8597 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.547, allocations: 159.9 kB / 0.8598 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.5472, allocations: 197.8 kB / 0.86 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5472, allocations: 0 / 0.86 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003744/0.5476, allocations: 212.4 kB / 0.8602 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.5476, allocations: 16.28 kB / 0.8602 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5476, allocations: 5.25 kB / 0.8602 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5476, allocations: 9.656 kB / 0.8602 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.5477, allocations: 38.36 kB / 0.8603 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5478, allocations: 12.73 kB / 0.8603 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.5479, allocations: 33.78 kB / 0.8603 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.548, allocations: 10.12 kB / 0.8603 GB, free: 4.777 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001252/0.5481, allocations: 220.6 kB / 0.8605 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.5482, allocations: 124 kB / 0.8607 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.5482, allocations: 133.4 kB / 0.8608 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.472e-05/0.5483, allocations: 178.8 kB / 0.861 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.925e-05/0.5483, allocations: 178.1 kB / 0.8611 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.409e-05/0.5484, allocations: 180.2 kB / 0.8613 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.5487, allocations: 477.8 kB / 0.8617 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.061e-05/0.5487, allocations: 115.6 kB / 0.8619 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.5488, allocations: 105 kB / 0.862 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.682e-05/0.5488, allocations: 180.2 kB / 0.8621 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.5489, allocations: 183.1 kB / 0.8623 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.453e-05/0.5489, allocations: 176.3 kB / 0.8625 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.609e-05/0.549, allocations: 184.2 kB / 0.8626 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.5491, allocations: 332.2 kB / 0.863 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.5492, allocations: 200.6 kB / 0.8632 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.5493, allocations: 183.1 kB / 0.8633 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.5495, allocations: 106.4 kB / 0.8634 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.5495, allocations: 188.3 kB / 0.8636 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.5496, allocations: 111.7 kB / 0.8637 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002123/0.5498, allocations: 216.5 kB / 0.8639 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5498, allocations: 0 / 0.8639 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000327/0.5501, allocations: 54.5 kB / 0.864 GB, free: 1.02 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.0004837/0.5506, allocations: 0.8547 MB / 0.8648 GB, free: 188 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.5508, allocations: 81.25 kB / 0.8649 GB, free: 152 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5508, allocations: 0 / 0.8649 GB, free: 152 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5508, allocations: 0 / 0.8649 GB, free: 152 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.5513, allocations: 496.4 kB / 0.8654 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.5535, allocations: 2.505 MB / 0.8678 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.5538, allocations: 0.7378 MB / 0.8685 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.5539, allocations: 35.91 kB / 0.8686 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.41e-05/0.554, allocations: 54.23 kB / 0.8686 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.554, allocations: 2.531 kB / 0.8686 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.5731, allocations: 3.996 MB / 0.8725 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/7.383, allocations: 5.906 kB / 0.8725 GB, free: 10.75 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)