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.005381/0.005381, allocations: 97.98 kB / 15.73 MB, free: 5.605 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.001152/0.001152, allocations: 192.5 kB / 16.67 MB, free: 5.527 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.289/1.289, 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.002115/0.002115, allocations: 294.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9294/0.9294, allocations: 169.2 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 96.22 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3546, allocations: 86.97 MB / 0.7659 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1612/0.5159, allocations: 170.3 MB / 0.9322 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005711/0.5216, allocations: 6.003 MB / 0.9381 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.5218, allocations: 11.94 kB / 0.9381 GB, free: 2.961 MB / 0.7012 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.0005902/0.5224, allocations: 181.9 kB / 0.9383 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.5227, allocations: 95.36 kB / 0.9384 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.5237, allocations: 0.5333 MB / 0.9389 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.5242, allocations: 418.7 kB / 0.9393 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.5244, allocations: 135.6 kB / 0.9394 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.5247, allocations: 191.3 kB / 0.9396 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.5249, allocations: 151.4 kB / 0.9398 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.5249, allocations: 16 kB / 0.9398 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006597/0.5256, allocations: 458.8 kB / 0.9402 GB, free: 0.8086 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.5257, allocations: 71.81 kB / 0.9403 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.5258, allocations: 111.4 kB / 0.9404 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0005617/0.5263, allocations: 451.6 kB / 0.9408 GB, free: 196 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5264, allocations: 0 / 0.9408 GB, free: 196 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5264, allocations: 0 / 0.9408 GB, free: 196 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.5264, allocations: 0 / 0.9408 GB, free: 196 kB / 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.0005604/0.5269, allocations: 0.5298 MB / 0.9413 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.527, allocations: 8.031 kB / 0.9413 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.651e-05/0.527, allocations: 62.53 kB / 0.9414 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.5273, allocations: 51.8 kB / 0.9414 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.5276, allocations: 254.6 kB / 0.9417 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.5278, allocations: 139.4 kB / 0.9418 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.5278, allocations: 16 kB / 0.9418 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.5282, allocations: 298.8 kB / 0.9421 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.5283, allocations: 4 kB / 0.9421 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.5283, allocations: 4 kB / 0.9421 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.5283, allocations: 16 kB / 0.9421 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.5286, allocations: 156.6 kB / 0.9423 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.5298, allocations: 1.583 MB / 0.9438 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.316e-05/0.5299, allocations: 173.1 kB / 0.944 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.5299, allocations: 80.14 kB / 0.9441 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.53, allocations: 75.28 kB / 0.9442 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.53, allocations: 117.7 kB / 0.9443 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.53, allocations: 0 / 0.9443 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.839e-05/0.5301, allocations: 45.56 kB / 0.9443 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.5302, allocations: 130.7 kB / 0.9444 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.5305, allocations: 314.6 kB / 0.9447 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.5305, allocations: 25.7 kB / 0.9448 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.5306, allocations: 195.7 kB / 0.9449 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/0.5306, allocations: 0 / 0.9449 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.5307, allocations: 45.66 kB / 0.945 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.5308, allocations: 330.8 kB / 0.9453 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/0.5309, allocations: 35.98 kB / 0.9453 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.5311, allocations: 171.4 kB / 0.9455 GB, free: 11 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.5313, allocations: 196.9 kB / 0.9457 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5313, allocations: 0 / 0.9457 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003885/0.5317, allocations: 221 kB / 0.9459 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.5317, allocations: 11.94 kB / 0.9459 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5317, allocations: 4 kB / 0.9459 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5317, allocations: 4 kB / 0.9459 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.5319, allocations: 40.55 kB / 0.946 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.5319, allocations: 4 kB / 0.946 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.5321, allocations: 39.73 kB / 0.946 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.5321, allocations: 15.88 kB / 0.946 GB, free: 10.41 MB / 0.7169 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.0001262/0.5323, allocations: 225 kB / 0.9462 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.5323, allocations: 124.9 kB / 0.9463 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.5324, allocations: 121.8 kB / 0.9465 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.002e-05/0.5325, allocations: 180.2 kB / 0.9466 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.211e-05/0.5325, allocations: 188.2 kB / 0.9468 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-05/0.5326, allocations: 176.3 kB / 0.947 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.5329, allocations: 489 kB / 0.9474 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.731e-05/0.5329, allocations: 101 kB / 0.9475 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.5329, allocations: 104.9 kB / 0.9476 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-05/0.533, allocations: 184.2 kB / 0.9478 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.533, allocations: 188.2 kB / 0.948 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.803e-05/0.5331, allocations: 176.3 kB / 0.9482 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.001e-05/0.5332, allocations: 180.3 kB / 0.9483 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.5333, allocations: 323.6 kB / 0.9486 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5334, allocations: 214.1 kB / 0.9489 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.5335, allocations: 184.2 kB / 0.949 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.5336, allocations: 109 kB / 0.9491 GB, free: 7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.5337, allocations: 188.2 kB / 0.9493 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.5337, allocations: 101 kB / 0.9494 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002228/0.5339, allocations: 221.9 kB / 0.9496 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.534, allocations: 0 / 0.9496 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003525/0.5343, allocations: 51.92 kB / 0.9497 GB, free: 6.438 MB / 0.7169 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.0004537/0.5348, allocations: 0.8631 MB / 0.9505 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.535, allocations: 84.77 kB / 0.9506 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.535, allocations: 0 / 0.9506 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.925e-06/0.535, allocations: 0 / 0.9506 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.5354, allocations: 488.1 kB / 0.9511 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.5377, allocations: 2.513 MB / 0.9535 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.538, allocations: 0.7437 MB / 0.9542 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.5381, allocations: 33.94 kB / 0.9543 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.027e-05/0.5382, allocations: 51.42 kB / 0.9543 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.5382, allocations: 0 / 0.9543 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2961/0.8344, allocations: 4.044 MB / 0.9583 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.163/7.998, allocations: 4.734 kB / 0.9583 GB, free: 192.1 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)