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.001522/0.001522, 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.001726/0.001726, allocations: 198.5 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002164, allocations: 283.1 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9472/0.9472, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 95.42 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1304, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4102/0.5407, allocations: 170.3 MB / 0.8466 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005614/0.5463, allocations: 6 MB / 0.8525 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.5465, allocations: 12.03 kB / 0.8525 GB, free: 11.43 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.0005219/0.5471, allocations: 192.1 kB / 0.8527 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.5474, allocations: 82.78 kB / 0.8527 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000924/0.5483, allocations: 0.5256 MB / 0.8533 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.5487, allocations: 403.6 kB / 0.8536 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.5489, allocations: 139.3 kB / 0.8538 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.5492, allocations: 189 kB / 0.854 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.5494, allocations: 152.3 kB / 0.8541 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.5494, allocations: 15.38 kB / 0.8541 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006639/0.5501, allocations: 460.5 kB / 0.8546 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.5502, allocations: 68.89 kB / 0.8546 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.346e-05/0.5503, allocations: 111.2 kB / 0.8547 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.5508, allocations: 436.7 kB / 0.8551 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5508, allocations: 6.469 kB / 0.8551 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5508, allocations: 0 / 0.8551 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.5508, allocations: 0 / 0.8551 GB, free: 9.645 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.0005053/0.5513, allocations: 0.5167 MB / 0.8557 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.5513, allocations: 11.12 kB / 0.8557 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/0.5514, allocations: 62.11 kB / 0.8557 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.5516, allocations: 41.33 kB / 0.8558 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.5519, allocations: 259.8 kB / 0.856 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.552, allocations: 135.6 kB / 0.8561 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.5521, allocations: 22.94 kB / 0.8562 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.5525, allocations: 294.3 kB / 0.8564 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5525, allocations: 6.562 kB / 0.8564 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.5525, allocations: 10.78 kB / 0.8565 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5525, allocations: 4.938 kB / 0.8565 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.5528, allocations: 156.6 kB / 0.8566 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.554, allocations: 1.581 MB / 0.8582 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.484e-05/0.5541, allocations: 165.1 kB / 0.8583 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.5541, allocations: 90.56 kB / 0.8584 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.5541, allocations: 75.28 kB / 0.8585 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.5542, allocations: 113.8 kB / 0.8586 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.5542, allocations: 0 / 0.8586 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.965e-05/0.5543, allocations: 48.42 kB / 0.8586 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.5543, allocations: 126.7 kB / 0.8587 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.5547, allocations: 313.2 kB / 0.859 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.5547, allocations: 27.98 kB / 0.8591 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.5548, allocations: 186 kB / 0.8592 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.5548, allocations: 4 kB / 0.8593 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/0.5549, allocations: 52.55 kB / 0.8593 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.555, allocations: 328.5 kB / 0.8596 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.5551, allocations: 39.22 kB / 0.8597 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.5552, allocations: 165 kB / 0.8598 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.5555, allocations: 197.6 kB / 0.86 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5555, allocations: 2.844 kB / 0.86 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003761/0.5558, allocations: 214.7 kB / 0.8602 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5559, allocations: 17.39 kB / 0.8602 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5559, allocations: 4.812 kB / 0.8602 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5559, allocations: 7.25 kB / 0.8602 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.556, allocations: 36.42 kB / 0.8603 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.5561, allocations: 15.16 kB / 0.8603 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.5562, allocations: 33.78 kB / 0.8603 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.5563, allocations: 11.75 kB / 0.8603 GB, free: 4.797 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.0001231/0.5564, allocations: 218.4 kB / 0.8605 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.811e-05/0.5565, allocations: 131.1 kB / 0.8607 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.321e-05/0.5565, allocations: 121.7 kB / 0.8608 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.277e-05/0.5566, allocations: 180.2 kB / 0.8609 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.177e-05/0.5567, allocations: 180.3 kB / 0.8611 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-05/0.5567, allocations: 186.8 kB / 0.8613 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.557, allocations: 481.6 kB / 0.8618 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/0.557, allocations: 104.9 kB / 0.8619 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.5571, allocations: 101 kB / 0.862 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.356e-05/0.5571, allocations: 187 kB / 0.8621 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.5572, allocations: 180.4 kB / 0.8623 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-05/0.5572, allocations: 180.2 kB / 0.8625 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.157e-05/0.5573, allocations: 190 kB / 0.8627 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.5574, allocations: 318.1 kB / 0.863 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.5575, allocations: 205.6 kB / 0.8632 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.5576, allocations: 186.3 kB / 0.8633 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.5577, allocations: 111.2 kB / 0.8634 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.5578, allocations: 180.3 kB / 0.8636 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.5579, allocations: 102.9 kB / 0.8637 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002211/0.5581, allocations: 223.5 kB / 0.8639 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.5581, allocations: 0 / 0.8639 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003428/0.5584, allocations: 51.94 kB / 0.864 GB, free: 1.043 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.0004865/0.5589, allocations: 0.8611 MB / 0.8648 GB, free: 208 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.5591, allocations: 78.66 kB / 0.8649 GB, free: 172 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.5591, allocations: 0 / 0.8649 GB, free: 172 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.5591, allocations: 4.156 kB / 0.8649 GB, free: 172 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.5596, allocations: 486.5 kB / 0.8654 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.5619, allocations: 2.516 MB / 0.8678 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.5622, allocations: 0.7327 MB / 0.8685 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.5623, allocations: 33.78 kB / 0.8686 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.5624, allocations: 61.5 kB / 0.8686 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.5624, allocations: 0 / 0.8686 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1875/0.7499, allocations: 3.987 MB / 0.8725 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.519, allocations: 13.08 kB / 0.8725 GB, free: 10.77 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)