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.6839/0.6839, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008772/0.0008773, allocations: 186.1 kB / 187.3 MB, free: 11.91 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.22/1.22, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008643/0.0008643, allocations: 98.83 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 272.5 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.11e-05, allocations: 11.98 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3437, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.881/4.225, allocations: 2.122 GB / 2.887 GB, free: 207.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/4.225, allocations: 88.75 kB / 2.887 GB, free: 207 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.676/4.901, allocations: 223.8 MB / 3.105 GB, free: 201.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/4.901, allocations: 0 / 3.105 GB, free: 201.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.527e-05/4.901, allocations: 9.594 kB / 3.105 GB, free: 201.9 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.0003866/4.901, allocations: 465.7 kB / 3.106 GB, free: 201.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/4.901, allocations: 7.688 kB / 3.106 GB, free: 201.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.532e-05/4.901, allocations: 61.58 kB / 3.106 GB, free: 201.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/4.902, allocations: 49.14 kB / 3.106 GB, free: 201.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/4.902, allocations: 256 kB / 3.106 GB, free: 201.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/4.902, allocations: 132.4 kB / 3.106 GB, free: 201.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/4.902, allocations: 22.25 kB / 3.106 GB, free: 201.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/4.902, allocations: 289.7 kB / 3.107 GB, free: 201.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/4.902, allocations: 0 / 3.107 GB, free: 201.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/4.902, allocations: 10.84 kB / 3.107 GB, free: 201.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/4.902, allocations: 9.656 kB / 3.107 GB, free: 201.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/4.903, allocations: 150.2 kB / 3.107 GB, free: 201.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/4.904, allocations: 1.595 MB / 3.108 GB, free: 199.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.916e-05/4.904, allocations: 171.3 kB / 3.109 GB, free: 199.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/4.904, allocations: 82.58 kB / 3.109 GB, free: 199.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/4.904, allocations: 79.16 kB / 3.109 GB, free: 199.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/4.904, allocations: 110.9 kB / 3.109 GB, free: 199.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/4.904, allocations: 0 / 3.109 GB, free: 199.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.415e-05/4.904, allocations: 52.38 kB / 3.109 GB, free: 199.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/4.904, allocations: 127.9 kB / 3.109 GB, free: 199.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/4.904, allocations: 277.6 kB / 3.109 GB, free: 199.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-06/4.904, allocations: 25.7 kB / 3.109 GB, free: 199 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/4.904, allocations: 192.3 kB / 3.109 GB, free: 198.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-06/4.904, allocations: 3.969 kB / 3.109 GB, free: 198.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-06/4.904, allocations: 3.688 kB / 3.109 GB, free: 198.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/4.904, allocations: 330 kB / 3.11 GB, free: 198.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/4.904, allocations: 36.91 kB / 3.11 GB, free: 198.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-05/4.904, allocations: 163.6 kB / 3.11 GB, free: 198.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.901e-05/4.904, allocations: 61.72 kB / 3.11 GB, free: 198.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/4.904, allocations: 0 / 3.11 GB, free: 198.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003059/4.905, allocations: 221.3 kB / 3.11 GB, free: 198.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/4.905, allocations: 7.469 kB / 3.11 GB, free: 198.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/4.905, allocations: 6.156 kB / 3.11 GB, free: 198.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/4.905, allocations: 7.781 kB / 3.11 GB, free: 198.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/4.905, allocations: 36.86 kB / 3.11 GB, free: 198.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/4.905, allocations: 14.09 kB / 3.11 GB, free: 198.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/4.905, allocations: 30.3 kB / 3.11 GB, free: 198.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/4.905, allocations: 10.47 kB / 3.11 GB, free: 198.4 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 5.335e-05/4.905, allocations: 197 kB / 3.111 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/4.905, allocations: 126.9 kB / 3.111 GB, free: 198.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/4.905, allocations: 121.2 kB / 3.111 GB, free: 198 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/4.905, allocations: 176.3 kB / 3.111 GB, free: 197.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/4.905, allocations: 180 kB / 3.111 GB, free: 197.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.333e-05/4.905, allocations: 182.8 kB / 3.111 GB, free: 197.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/4.906, allocations: 489.2 kB / 3.112 GB, free: 197 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/4.906, allocations: 101 kB / 3.112 GB, free: 196.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/4.906, allocations: 107.9 kB / 3.112 GB, free: 196.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.563e-05/4.906, allocations: 187.8 kB / 3.112 GB, free: 196.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/4.906, allocations: 179.9 kB / 3.112 GB, free: 196.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.193e-05/4.906, allocations: 180.1 kB / 3.112 GB, free: 196.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-05/4.906, allocations: 176.3 kB / 3.113 GB, free: 196 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.417e-05/4.906, allocations: 328.1 kB / 3.113 GB, free: 195.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/4.906, allocations: 204.6 kB / 3.113 GB, free: 195.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/4.906, allocations: 190.9 kB / 3.113 GB, free: 195.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/4.906, allocations: 104.5 kB / 3.113 GB, free: 195.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/4.906, allocations: 183.9 kB / 3.114 GB, free: 195.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/4.906, allocations: 104.2 kB / 3.114 GB, free: 194.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001477/4.906, allocations: 216 kB / 3.114 GB, free: 194.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/4.906, allocations: 0 / 3.114 GB, free: 194.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004442/4.907, allocations: 127 kB / 3.114 GB, free: 194.9 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.000996/4.908, allocations: 1.668 MB / 3.116 GB, free: 193.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001327/4.908, allocations: 81.64 kB / 3.116 GB, free: 193.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/4.908, allocations: 0 / 3.116 GB, free: 193.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/4.908, allocations: 0 / 3.116 GB, free: 193.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/4.908, allocations: 0.5554 MB / 3.116 GB, free: 193.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/4.909, allocations: 338.7 kB / 3.117 GB, free: 193.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/4.909, allocations: 0.7474 MB / 3.117 GB, free: 192.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001343/4.909, allocations: 41.31 kB / 3.117 GB, free: 192.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/4.909, allocations: 52.2 kB / 3.117 GB, free: 192.5 MB / 0.698 GB Notification: Performance of SimCode: time 9.32e-07/4.909, allocations: 0 / 3.117 GB, free: 192.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/4.938, allocations: 21.7 MB / 3.139 GB, free: 191.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/4.938, allocations: 173.3 kB / 3.139 GB, free: 191.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/7.171, allocations: 2.125 kB / 3.139 GB, free: 191.6 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)