Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_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.00601/0.00601, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001315/0.001315, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002587/0.002587, allocations: 284.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002721/0.002721, allocations: 104.1 kB / 0.681 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3712, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1682/0.5395, allocations: 147.9 MB / 0.9104 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005323/0.5448, allocations: 4.646 MB / 0.9149 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.5451, allocations: 4 kB / 0.9149 GB, free: 10.67 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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.0005369/0.5456, allocations: 170.8 kB / 0.9151 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.5459, allocations: 83.45 kB / 0.9152 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.5461, allocations: 59.92 kB / 0.9152 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.5464, allocations: 290.8 kB / 0.9155 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.5467, allocations: 110.5 kB / 0.9156 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.5469, allocations: 103.6 kB / 0.9157 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.5471, allocations: 135.5 kB / 0.9158 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.5471, allocations: 8 kB / 0.9159 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 2.833e-05/0.5471, allocations: 16 kB / 0.9159 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.5472, allocations: 27.86 kB / 0.9159 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 7.909e-05/0.5472, allocations: 79.55 kB / 0.916 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.5475, allocations: 156.5 kB / 0.9161 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5475, allocations: 4 kB / 0.9161 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5475, allocations: 3.938 kB / 0.9161 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5475, allocations: 0 / 0.9161 GB, free: 9.449 MB / 0.6856 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.0004737/0.548, allocations: 446.5 kB / 0.9166 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.548, allocations: 19.95 kB / 0.9166 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.5481, allocations: 46.75 kB / 0.9166 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.5481, allocations: 24.83 kB / 0.9166 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.5485, allocations: 258.2 kB / 0.9169 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.5485, allocations: 12.12 kB / 0.9169 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.5485, allocations: 16 kB / 0.9169 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.5488, allocations: 213.7 kB / 0.9171 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5489, allocations: 7.938 kB / 0.9171 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.5489, allocations: 8 kB / 0.9171 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5489, allocations: 4 kB / 0.9171 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.549, allocations: 71.78 kB / 0.9172 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.5502, allocations: 1.579 MB / 0.9187 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 9.91e-05/0.5503, allocations: 173 kB / 0.9189 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.5503, allocations: 84.14 kB / 0.919 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.5504, allocations: 75.28 kB / 0.9191 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/0.5504, allocations: 113.8 kB / 0.9192 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.093e-06/0.5504, allocations: 0 / 0.9192 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 8.735e-05/0.5505, allocations: 49.55 kB / 0.9192 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.5506, allocations: 126.7 kB / 0.9193 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.5509, allocations: 254.6 kB / 0.9196 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.5509, allocations: 25.7 kB / 0.9196 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.551, allocations: 139.9 kB / 0.9197 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-06/0.5511, allocations: 4 kB / 0.9197 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.5511, allocations: 29.66 kB / 0.9198 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5512, allocations: 322.8 kB / 0.9201 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.5513, allocations: 11.98 kB / 0.9201 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.453e-05/0.5513, allocations: 46.02 kB / 0.9201 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.678e-05/0.5514, allocations: 53.95 kB / 0.9202 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5514, allocations: 7.938 kB / 0.9202 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001637/0.5516, allocations: 97.39 kB / 0.9203 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5516, allocations: 4 kB / 0.9203 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5516, allocations: 4 kB / 0.9203 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5516, allocations: 0 / 0.9203 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-05/0.5517, allocations: 12 kB / 0.9203 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.5517, allocations: 0 / 0.9203 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.801e-05/0.5518, allocations: 19.84 kB / 0.9203 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.5518, allocations: 11.94 kB / 0.9203 GB, free: 4.777 MB / 0.6856 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 0.0001348/0.5519, allocations: 215.5 kB / 0.9205 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.925e-05/0.5521, allocations: 128.8 kB / 0.9207 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.943e-05/0.5521, allocations: 121.8 kB / 0.9208 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.578e-05/0.5522, allocations: 176.3 kB / 0.921 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.397e-05/0.5523, allocations: 180.3 kB / 0.9211 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-05/0.5524, allocations: 184.2 kB / 0.9213 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.5527, allocations: 457.1 kB / 0.9217 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.407e-05/0.5528, allocations: 104.9 kB / 0.9218 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.5528, allocations: 105 kB / 0.9219 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.331e-05/0.5529, allocations: 180.2 kB / 0.9221 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.317e-05/0.553, allocations: 180.2 kB / 0.9223 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.841e-05/0.5531, allocations: 180.3 kB / 0.9225 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.421e-05/0.5532, allocations: 188.2 kB / 0.9226 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.5534, allocations: 323.7 kB / 0.9229 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.5535, allocations: 197.9 kB / 0.9231 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.5536, allocations: 188.2 kB / 0.9233 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.5537, allocations: 104.9 kB / 0.9234 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.5538, allocations: 176.3 kB / 0.9236 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.5538, allocations: 101 kB / 0.9237 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001734/0.554, allocations: 185.9 kB / 0.9238 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.554, allocations: 0 / 0.9238 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002581/0.5543, allocations: 20 kB / 0.9239 GB, free: 0.9414 MB / 0.6856 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.0004742/0.5548, allocations: 0.8281 MB / 0.9247 GB, free: 84 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 8.045e-05/0.5549, allocations: 24.28 kB / 0.9247 GB, free: 60 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5549, allocations: 4 kB / 0.9247 GB, free: 56 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.5549, allocations: 448 / 0.9247 GB, free: 56 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000696/0.5556, allocations: 0.5063 MB / 0.9252 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.5577, allocations: 2.046 MB / 0.9272 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.558, allocations: 0.7202 MB / 0.9279 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 6.074e-05/0.5581, allocations: 13.55 kB / 0.9279 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.5582, allocations: 43.42 kB / 0.928 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of SimCode: time 3.61e-07/0.5582, allocations: 4 kB / 0.928 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.5823, allocations: 3.575 MB / 0.9314 GB, free: 9.168 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.366, allocations: 19.42 kB / 0.9315 GB, free: 9.152 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir_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_InletToAirDryAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)