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.007687/0.007687, allocations: 96.06 kB / 15.73 MB, free: 6.055 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.002164/0.002164, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002557, allocations: 279.1 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 104.3 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.154, allocations: 86.98 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4679/0.6219, allocations: 170.3 MB / 0.9322 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006896/0.6289, allocations: 6.003 MB / 0.9381 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.6291, allocations: 12 kB / 0.9381 GB, free: 2.602 MB / 0.6856 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.0006078/0.6297, allocations: 190.7 kB / 0.9383 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.63, allocations: 83.38 kB / 0.9384 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.6311, allocations: 0.5177 MB / 0.9389 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004995/0.6316, allocations: 423.4 kB / 0.9393 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.6319, allocations: 125.5 kB / 0.9394 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.6322, allocations: 203.2 kB / 0.9396 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.6324, allocations: 151.4 kB / 0.9397 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.6325, allocations: 19.98 kB / 0.9398 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007895/0.6333, allocations: 454.8 kB / 0.9402 GB, free: 472 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.045e-05/0.6334, allocations: 63.81 kB / 0.9402 GB, free: 408 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.6335, allocations: 111.5 kB / 0.9404 GB, free: 296 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0006654/0.6342, allocations: 452.7 kB / 0.9408 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6342, allocations: 0 / 0.9408 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6342, allocations: 4 kB / 0.9408 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6342, allocations: 0 / 0.9408 GB, free: 15.84 MB / 0.7012 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.0006333/0.6349, allocations: 0.5219 MB / 0.9413 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.6349, allocations: 12.03 kB / 0.9413 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.286e-05/0.635, allocations: 58.55 kB / 0.9414 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.6352, allocations: 43.8 kB / 0.9414 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.6357, allocations: 270.4 kB / 0.9417 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.6358, allocations: 131.4 kB / 0.9418 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.6359, allocations: 24 kB / 0.9418 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.6363, allocations: 294.8 kB / 0.9421 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.6364, allocations: 0 / 0.9421 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.6364, allocations: 19.92 kB / 0.9421 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.6364, allocations: 8 kB / 0.9421 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.6368, allocations: 160.6 kB / 0.9423 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.6382, allocations: 1.583 MB / 0.9438 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.063e-05/0.6384, allocations: 165.1 kB / 0.944 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.6384, allocations: 80.14 kB / 0.9441 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.6385, allocations: 79.28 kB / 0.9441 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/0.6385, allocations: 105.8 kB / 0.9442 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 3.036e-06/0.6385, allocations: 0 / 0.9442 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 9.375e-05/0.6386, allocations: 61.42 kB / 0.9443 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.6387, allocations: 130.7 kB / 0.9444 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.6391, allocations: 302.6 kB / 0.9447 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.6391, allocations: 25.7 kB / 0.9447 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.6393, allocations: 203.6 kB / 0.9449 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-06/0.6393, allocations: 3.984 kB / 0.9449 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/0.6394, allocations: 53.59 kB / 0.945 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6395, allocations: 326.8 kB / 0.9453 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.6396, allocations: 35.97 kB / 0.9453 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.6398, allocations: 164.9 kB / 0.9455 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.6401, allocations: 200.9 kB / 0.9457 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6401, allocations: 4 kB / 0.9457 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004362/0.6406, allocations: 217.4 kB / 0.9459 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6406, allocations: 7.938 kB / 0.9459 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6406, allocations: 8 kB / 0.9459 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.6406, allocations: 4 kB / 0.9459 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.6408, allocations: 39.92 kB / 0.9459 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.6408, allocations: 11.98 kB / 0.946 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.641, allocations: 31.73 kB / 0.946 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.641, allocations: 12 kB / 0.946 GB, free: 10.06 MB / 0.7012 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.0001627/0.6412, allocations: 225.9 kB / 0.9462 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.261e-05/0.6413, allocations: 124.8 kB / 0.9463 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.521e-05/0.6414, allocations: 122.5 kB / 0.9464 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.788e-05/0.6415, allocations: 180.2 kB / 0.9466 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-05/0.6416, allocations: 176.3 kB / 0.9468 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-05/0.6416, allocations: 188.2 kB / 0.947 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.642, allocations: 481.1 kB / 0.9474 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.874e-05/0.6421, allocations: 110.3 kB / 0.9475 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.6421, allocations: 108.9 kB / 0.9476 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.459e-05/0.6422, allocations: 180.2 kB / 0.9478 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.751e-05/0.6423, allocations: 176.3 kB / 0.948 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.962e-05/0.6424, allocations: 192.2 kB / 0.9482 GB, free: 7.707 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.608e-05/0.6424, allocations: 176.3 kB / 0.9483 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.6426, allocations: 327.6 kB / 0.9486 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.6428, allocations: 205.9 kB / 0.9488 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.6429, allocations: 192.1 kB / 0.949 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.643, allocations: 101.5 kB / 0.9491 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.6431, allocations: 184.2 kB / 0.9493 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/0.6432, allocations: 105 kB / 0.9494 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002781/0.6435, allocations: 221.9 kB / 0.9496 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6435, allocations: 0 / 0.9496 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003623/0.6438, allocations: 43.94 kB / 0.9496 GB, free: 6.102 MB / 0.7012 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.0006097/0.6444, allocations: 0.8678 MB / 0.9505 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.6447, allocations: 80.91 kB / 0.9506 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6447, allocations: 0 / 0.9506 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.6447, allocations: 0 / 0.9506 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.6452, allocations: 488.8 kB / 0.951 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.648, allocations: 2.507 MB / 0.9535 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.6484, allocations: 0.7359 MB / 0.9542 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.6486, allocations: 37.92 kB / 0.9542 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.6487, allocations: 55.41 kB / 0.9543 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of SimCode: time 3.41e-07/0.6487, allocations: 0 / 0.9543 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.6738, allocations: 4.071 MB / 0.9583 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.404, allocations: 11.19 kB / 0.9583 GB, free: 13.15 MB / 0.7169 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)