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.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001178/0.001178, allocations: 195.7 kB / 16.14 MB, free: 6.66 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.179/1.179, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001906/0.001906, allocations: 282.9 kB / 290.2 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8977/0.8977, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 97.41 kB / 0.5946 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1276, allocations: 86.97 MB / 0.6795 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.3923/0.5199, allocations: 168.1 MB / 0.8437 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004632/0.5246, allocations: 5.986 MB / 0.8495 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.5248, allocations: 5.656 kB / 0.8495 GB, free: 13.4 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.0005169/0.5254, allocations: 157.1 kB / 0.8497 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.5256, allocations: 86.09 kB / 0.8497 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008699/0.5265, allocations: 490.5 kB / 0.8502 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.5269, allocations: 462.5 kB / 0.8507 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.5271, allocations: 130 kB / 0.8508 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.5273, allocations: 178.2 kB / 0.8509 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.5275, allocations: 151.6 kB / 0.8511 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.5275, allocations: 10.16 kB / 0.8511 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006397/0.5281, allocations: 0.5135 MB / 0.8516 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.5282, allocations: 68.11 kB / 0.8517 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.462e-05/0.5283, allocations: 104.3 kB / 0.8518 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.5288, allocations: 464.8 kB / 0.8522 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5288, allocations: 7.984 kB / 0.8522 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.91e-07/0.5288, allocations: 4 kB / 0.8522 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.5288, allocations: 0 / 0.8522 GB, free: 11.69 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.000466/0.5293, allocations: 0.5142 MB / 0.8527 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.5293, allocations: 10.69 kB / 0.8527 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.5294, allocations: 57.73 kB / 0.8528 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.5296, allocations: 42.14 kB / 0.8528 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.5299, allocations: 258 kB / 0.8531 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.53, allocations: 135 kB / 0.8532 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.53, allocations: 21.56 kB / 0.8532 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.5304, allocations: 309.6 kB / 0.8535 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.5304, allocations: 0 / 0.8535 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.5304, allocations: 9.406 kB / 0.8535 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.5304, allocations: 8.312 kB / 0.8535 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.5307, allocations: 154.2 kB / 0.8537 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.5318, allocations: 1.58 MB / 0.8552 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.5318, allocations: 171.5 kB / 0.8554 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.5319, allocations: 80.14 kB / 0.8555 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.5319, allocations: 75.28 kB / 0.8555 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.5319, allocations: 116.3 kB / 0.8556 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.5319, allocations: 0 / 0.8556 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.27e-05/0.532, allocations: 49.14 kB / 0.8557 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.5321, allocations: 126.7 kB / 0.8558 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.5324, allocations: 320.6 kB / 0.8561 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.5324, allocations: 25.7 kB / 0.8561 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.5325, allocations: 188.8 kB / 0.8563 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.5325, allocations: 2.75 kB / 0.8563 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/0.5325, allocations: 52.95 kB / 0.8564 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.5326, allocations: 328.3 kB / 0.8567 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/0.5327, allocations: 34.12 kB / 0.8567 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.5329, allocations: 166.1 kB / 0.8569 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.5331, allocations: 194.8 kB / 0.8571 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5331, allocations: 4 kB / 0.8571 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003407/0.5334, allocations: 209.4 kB / 0.8573 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5334, allocations: 14.53 kB / 0.8573 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5334, allocations: 5.312 kB / 0.8573 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5335, allocations: 7.5 kB / 0.8573 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.5336, allocations: 43.16 kB / 0.8573 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.5336, allocations: 7.906 kB / 0.8573 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.5338, allocations: 32.97 kB / 0.8574 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.5338, allocations: 13.66 kB / 0.8574 GB, free: 6.844 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.0001083/0.5339, allocations: 219.9 kB / 0.8576 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.534, allocations: 135.2 kB / 0.8577 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.534, allocations: 123.3 kB / 0.8578 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.457e-05/0.5341, allocations: 178.4 kB / 0.858 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.904e-05/0.5341, allocations: 180.2 kB / 0.8582 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.485e-05/0.5342, allocations: 183.1 kB / 0.8584 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.5344, allocations: 483.1 kB / 0.8588 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-05/0.5345, allocations: 107.7 kB / 0.8589 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.5345, allocations: 101 kB / 0.859 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.463e-05/0.5345, allocations: 184.1 kB / 0.8592 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/0.5346, allocations: 179.1 kB / 0.8594 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-05/0.5347, allocations: 184.2 kB / 0.8595 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-05/0.5347, allocations: 184.2 kB / 0.8597 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.5348, allocations: 319 kB / 0.86 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.5349, allocations: 208.2 kB / 0.8602 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.535, allocations: 184.1 kB / 0.8604 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.5351, allocations: 105 kB / 0.8605 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.5352, allocations: 187.5 kB / 0.8607 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.5352, allocations: 108.9 kB / 0.8608 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001915/0.5354, allocations: 217.2 kB / 0.861 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5354, allocations: 0 / 0.861 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003061/0.5357, allocations: 57.47 kB / 0.861 GB, free: 3.086 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.0004597/0.5362, allocations: 0.8607 MB / 0.8619 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.5363, allocations: 78 kB / 0.862 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.5363, allocations: 0 / 0.862 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.5364, allocations: 6.547 kB / 0.862 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.5368, allocations: 0.5474 MB / 0.8625 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.5389, allocations: 2.569 MB / 0.865 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.5391, allocations: 0.7373 MB / 0.8657 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.5392, allocations: 36.06 kB / 0.8658 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.5393, allocations: 57.42 kB / 0.8658 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.5393, allocations: 0 / 0.8658 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.037/1.577, allocations: 3.823 MB / 0.8696 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/1.577, allocations: 215.1 kB / 0.8698 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/3.768, allocations: 0 / 0.8698 GB, free: 12.58 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)