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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8411/0.8411, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 187.8 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009943, allocations: 79.45 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001808/0.001808, allocations: 271.1 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.957e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3973, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.214/5.611, allocations: 2.122 GB / 2.879 GB, free: 206.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/5.612, allocations: 83.19 kB / 2.879 GB, free: 206.4 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.MassFractionConnector 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAirNoC$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/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.MassFractionConnector 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAirNoC$outlet$forward 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/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.MassFractionConnector 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAirWithC$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/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.MassFractionConnector 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAirWithC$outlet$forward 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$bacPro_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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$outlet$forward 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.8136/6.425, allocations: 221.6 MB / 3.096 GB, free: 204.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/6.425, allocations: 0 / 3.096 GB, free: 204.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.721e-05/6.425, allocations: 5.188 kB / 3.096 GB, free: 204.7 MB / 0.698 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.0004523/6.426, allocations: 464.6 kB / 3.096 GB, free: 204.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/6.426, allocations: 10.84 kB / 3.096 GB, free: 204.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/6.426, allocations: 44.27 kB / 3.096 GB, free: 204.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/6.426, allocations: 252.7 kB / 3.096 GB, free: 204.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/6.427, allocations: 120.9 kB / 3.097 GB, free: 204 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/6.427, allocations: 12.62 kB / 3.097 GB, free: 204 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000236/6.427, allocations: 142.8 kB / 3.097 GB, free: 204 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/6.427, allocations: 250.3 kB / 3.097 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/6.427, allocations: 7.25 kB / 3.097 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/6.427, allocations: 0 / 3.097 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/6.427, allocations: 8.781 kB / 3.097 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009837/6.428, allocations: 1.527 MB / 3.098 GB, free: 202.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/6.428, allocations: 165.1 kB / 3.099 GB, free: 202.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/6.428, allocations: 86.42 kB / 3.099 GB, free: 202.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/6.428, allocations: 82.28 kB / 3.099 GB, free: 202.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/6.428, allocations: 109.8 kB / 3.099 GB, free: 202.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/6.428, allocations: 0 / 3.099 GB, free: 202.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.363e-05/6.428, allocations: 33.55 kB / 3.099 GB, free: 202.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/6.428, allocations: 54.03 kB / 3.099 GB, free: 202.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/6.429, allocations: 205.5 kB / 3.099 GB, free: 202 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/6.429, allocations: 25.7 kB / 3.099 GB, free: 201.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/6.429, allocations: 201.4 kB / 3.099 GB, free: 201.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-06/6.429, allocations: 3.688 kB / 3.099 GB, free: 201.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-06/6.429, allocations: 2.719 kB / 3.099 GB, free: 201.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.823e-05/6.429, allocations: 325.7 kB / 3.1 GB, free: 201.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-05/6.429, allocations: 35.2 kB / 3.1 GB, free: 201.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.462e-05/6.429, allocations: 152.2 kB / 3.1 GB, free: 201.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/6.429, allocations: 65.39 kB / 3.1 GB, free: 201.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/6.429, allocations: 0 / 3.1 GB, free: 201.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003009/6.429, allocations: 177.7 kB / 3.1 GB, free: 201.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/6.429, allocations: 7.875 kB / 3.1 GB, free: 201.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/6.429, allocations: 6.344 kB / 3.1 GB, free: 201.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/6.43, allocations: 12.05 kB / 3.1 GB, free: 201.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/6.43, allocations: 44.39 kB / 3.1 GB, free: 201.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/6.43, allocations: 12.53 kB / 3.1 GB, free: 201.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/6.43, allocations: 20.73 kB / 3.1 GB, free: 201.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/6.43, allocations: 10.81 kB / 3.1 GB, free: 201.3 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.941e-05/6.43, allocations: 188 kB / 3.1 GB, free: 201.1 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.222e-05/6.43, allocations: 155.5 kB / 3.101 GB, free: 201 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/6.43, allocations: 111.8 kB / 3.101 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/6.43, allocations: 119.6 kB / 3.101 GB, free: 200.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.338e-05/6.43, allocations: 180.1 kB / 3.101 GB, free: 200.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-05/6.43, allocations: 179 kB / 3.101 GB, free: 200.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.19e-05/6.43, allocations: 182.6 kB / 3.101 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/6.43, allocations: 444.8 kB / 3.102 GB, free: 199.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/6.43, allocations: 103.9 kB / 3.102 GB, free: 199.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.726e-05/6.43, allocations: 101 kB / 3.102 GB, free: 199.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-05/6.43, allocations: 183.1 kB / 3.102 GB, free: 199.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/6.431, allocations: 183.2 kB / 3.102 GB, free: 199.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-05/6.431, allocations: 185.3 kB / 3.102 GB, free: 199 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.203e-05/6.431, allocations: 185.5 kB / 3.103 GB, free: 198.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.474e-05/6.431, allocations: 307.5 kB / 3.103 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/6.431, allocations: 199.8 kB / 3.103 GB, free: 198.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/6.431, allocations: 183.4 kB / 3.103 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.635e-05/6.431, allocations: 103.6 kB / 3.103 GB, free: 198.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/6.431, allocations: 182.2 kB / 3.104 GB, free: 197.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/6.431, allocations: 109.8 kB / 3.104 GB, free: 197.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001021/6.431, allocations: 150.2 kB / 3.104 GB, free: 197.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/6.431, allocations: 3.094 kB / 3.104 GB, free: 197.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004552/6.432, allocations: 107.4 kB / 3.104 GB, free: 197.7 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/6.433, allocations: 1.786 MB / 3.106 GB, free: 196.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000145/6.433, allocations: 72.27 kB / 3.106 GB, free: 196.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/6.433, allocations: 0 / 3.106 GB, free: 196.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/6.433, allocations: 3.281 kB / 3.106 GB, free: 196.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/6.433, allocations: 0.5385 MB / 3.106 GB, free: 196.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/6.434, allocations: 329.5 kB / 3.107 GB, free: 196 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/6.434, allocations: 0.7458 MB / 3.107 GB, free: 195.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001324/6.434, allocations: 29.61 kB / 3.107 GB, free: 195.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/6.434, allocations: 57.47 kB / 3.107 GB, free: 195.3 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/6.434, allocations: 0 / 3.107 GB, free: 195.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/6.462, allocations: 10.24 MB / 3.117 GB, free: 195 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/6.463, allocations: 155.4 kB / 3.118 GB, free: 194.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/8.583, allocations: 0 / 3.118 GB, free: 194.8 MB / 0.698 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/linux/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)