Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.009504/0.009504, allocations: 100.5 kB / 15.73 MB, free: 5.996 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.001803/0.001803, allocations: 190.5 kB / 16.67 MB, free: 5.926 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002482/0.002482, allocations: 286.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.2 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 96.22 kB / 0.681 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4705, allocations: 86.98 MB / 0.7659 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1593/0.6298, allocations: 148 MB / 0.9105 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004611/0.6345, allocations: 4.65 MB / 0.915 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/0.6347, allocations: 8 kB / 0.915 GB, free: 10.72 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82: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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_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/Conversion/InletToAir.mo:80:3-82: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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004997/0.6353, allocations: 170 kB / 0.9152 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.6356, allocations: 87.44 kB / 0.9153 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.6358, allocations: 63.92 kB / 0.9153 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.6361, allocations: 302.8 kB / 0.9156 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.6364, allocations: 154 kB / 0.9158 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.6366, allocations: 115.5 kB / 0.9159 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.6368, allocations: 151.5 kB / 0.916 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.6368, allocations: 16 kB / 0.916 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 2.898e-05/0.6369, allocations: 16 kB / 0.916 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.637, allocations: 59.83 kB / 0.9161 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.6371, allocations: 107.4 kB / 0.9162 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.6373, allocations: 239 kB / 0.9164 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6373, allocations: 0 / 0.9164 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6373, allocations: 0 / 0.9164 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.6373, allocations: 0 / 0.9164 GB, free: 9.27 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004801/0.6378, allocations: 0.4913 MB / 0.9169 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.6379, allocations: 8.031 kB / 0.9169 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.6379, allocations: 54.73 kB / 0.917 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.638, allocations: 28.59 kB / 0.917 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.6383, allocations: 271 kB / 0.9173 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.6383, allocations: 16.81 kB / 0.9173 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.6384, allocations: 20.38 kB / 0.9173 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.6387, allocations: 308.8 kB / 0.9176 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6387, allocations: 3.938 kB / 0.9176 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.6388, allocations: 12 kB / 0.9176 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.6388, allocations: 4 kB / 0.9176 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.639, allocations: 119.8 kB / 0.9177 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.6401, allocations: 1.973 MB / 0.9196 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 7.287e-05/0.6402, allocations: 169.1 kB / 0.9198 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.6403, allocations: 80.14 kB / 0.9199 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.6403, allocations: 79.22 kB / 0.92 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.6404, allocations: 117.9 kB / 0.9201 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.6404, allocations: 0 / 0.9201 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 9.452e-05/0.6405, allocations: 53.36 kB / 0.9201 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.6405, allocations: 126.7 kB / 0.9202 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.6409, allocations: 332.5 kB / 0.9206 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.6409, allocations: 25.7 kB / 0.9206 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.641, allocations: 163.7 kB / 0.9207 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.23e-06/0.641, allocations: 4 kB / 0.9207 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.6411, allocations: 21.72 kB / 0.9208 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6412, allocations: 338.8 kB / 0.9211 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.6412, allocations: 4 kB / 0.9211 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/0.6413, allocations: 62.73 kB / 0.9212 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/0.6414, allocations: 66.81 kB / 0.9212 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6414, allocations: 3.938 kB / 0.9212 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001712/0.6415, allocations: 109.2 kB / 0.9213 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6416, allocations: 8 kB / 0.9213 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6416, allocations: 3.938 kB / 0.9213 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.6416, allocations: 4 kB / 0.9213 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/0.6417, allocations: 15.94 kB / 0.9214 GB, free: 3.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6417, allocations: 3.984 kB / 0.9214 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.977e-05/0.6418, allocations: 27.94 kB / 0.9214 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.6418, allocations: 8 kB / 0.9214 GB, free: 3.801 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001162/0.6419, allocations: 209.1 kB / 0.9216 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.642, allocations: 132.6 kB / 0.9217 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.642, allocations: 126 kB / 0.9218 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.052e-05/0.6421, allocations: 184.2 kB / 0.922 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.262e-05/0.6422, allocations: 180.2 kB / 0.9222 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.344e-05/0.6422, allocations: 184.3 kB / 0.9224 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.6425, allocations: 481.1 kB / 0.9228 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-05/0.6425, allocations: 105 kB / 0.9229 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.6426, allocations: 104.9 kB / 0.923 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.617e-05/0.6426, allocations: 180.2 kB / 0.9232 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.444e-05/0.6427, allocations: 188.2 kB / 0.9234 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.107e-05/0.6428, allocations: 184.2 kB / 0.9236 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-05/0.6428, allocations: 176.3 kB / 0.9237 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.643, allocations: 331.5 kB / 0.924 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.6431, allocations: 201.8 kB / 0.9242 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.6432, allocations: 192.1 kB / 0.9244 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.6433, allocations: 101 kB / 0.9245 GB, free: 408 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.6434, allocations: 180.5 kB / 0.9247 GB, free: 220 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.6434, allocations: 109 kB / 0.9248 GB, free: 104 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002166/0.6436, allocations: 235.1 kB / 0.925 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6436, allocations: 0 / 0.925 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002462/0.6439, allocations: 28 kB / 0.925 GB, free: 15.84 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.0004246/0.6443, allocations: 0.8358 MB / 0.9259 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.209e-05/0.6444, allocations: 28.36 kB / 0.9259 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6444, allocations: 4.062 kB / 0.9259 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.6444, allocations: 3.938 kB / 0.9259 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006657/0.6451, allocations: 0.5124 MB / 0.9264 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.6473, allocations: 2.51 MB / 0.9288 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.6476, allocations: 0.748 MB / 0.9296 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 8.055e-05/0.6477, allocations: 26.27 kB / 0.9296 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.6478, allocations: 59.42 kB / 0.9296 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of SimCode: time 3.1e-07/0.6478, allocations: 0 / 0.9296 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.6671, allocations: 4.758 MB / 0.9343 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/8.059, allocations: 13.34 kB / 0.9343 GB, free: 6.352 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)