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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 117.3 kB / 16.42 MB, free: 6.5 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.0009844/0.0009844, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002211/0.002211, allocations: 296.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.974/0.974, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 100.1 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4644, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1685/0.6329, allocations: 148 MB / 0.9116 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005073/0.6381, allocations: 4.65 MB / 0.9162 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.6384, allocations: 7.938 kB / 0.9162 GB, free: 10.66 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.0005416/0.639, allocations: 166.8 kB / 0.9163 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.6394, allocations: 87.44 kB / 0.9164 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.6396, allocations: 63.92 kB / 0.9165 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004208/0.64, allocations: 306.8 kB / 0.9168 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.6403, allocations: 150.6 kB / 0.9169 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.6405, allocations: 119.5 kB / 0.917 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.6407, allocations: 151.4 kB / 0.9172 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.6408, allocations: 20 kB / 0.9172 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 3.946e-05/0.6408, allocations: 16 kB / 0.9172 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.6409, allocations: 59.83 kB / 0.9173 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.641, allocations: 103.4 kB / 0.9174 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.6413, allocations: 233.6 kB / 0.9176 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6413, allocations: 0 / 0.9176 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.845e-06/0.6413, allocations: 0 / 0.9176 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.6413, allocations: 3.938 kB / 0.9176 GB, free: 9.215 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.0004892/0.6418, allocations: 491.1 kB / 0.9181 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.6418, allocations: 12.02 kB / 0.9181 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.6419, allocations: 32.66 kB / 0.9181 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.6423, allocations: 264.7 kB / 0.9184 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.6423, allocations: 12.81 kB / 0.9184 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.6423, allocations: 20.38 kB / 0.9184 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.6427, allocations: 309 kB / 0.9187 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.6428, allocations: 0 / 0.9187 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.6428, allocations: 12 kB / 0.9187 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.6428, allocations: 8 kB / 0.9187 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.643, allocations: 123.7 kB / 0.9188 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.6443, allocations: 1.969 MB / 0.9207 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 6.848e-05/0.6444, allocations: 169.1 kB / 0.9209 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.6444, allocations: 84.14 kB / 0.921 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.6444, allocations: 75.28 kB / 0.9211 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.6445, allocations: 113.9 kB / 0.9212 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.6445, allocations: 3.938 kB / 0.9212 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 9.231e-05/0.6446, allocations: 53.36 kB / 0.9212 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.6446, allocations: 51.41 kB / 0.9213 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.6449, allocations: 336.4 kB / 0.9216 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.645, allocations: 25.7 kB / 0.9216 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.6451, allocations: 163.7 kB / 0.9218 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.6451, allocations: 0 / 0.9218 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.6451, allocations: 21.7 kB / 0.9218 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6452, allocations: 334.8 kB / 0.9221 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.6453, allocations: 11.98 kB / 0.9221 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/0.6453, allocations: 54.88 kB / 0.9222 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.836e-05/0.6454, allocations: 78.67 kB / 0.9222 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6454, allocations: 3.938 kB / 0.9222 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001639/0.6456, allocations: 101.2 kB / 0.9223 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.6456, allocations: 8.25 kB / 0.9224 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.6456, allocations: 4 kB / 0.9224 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6456, allocations: 7.938 kB / 0.9224 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-05/0.6457, allocations: 15.98 kB / 0.9224 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6457, allocations: 3.938 kB / 0.9224 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.6458, allocations: 27.69 kB / 0.9224 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.6458, allocations: 4 kB / 0.9224 GB, free: 3.895 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.0001362/0.6459, allocations: 217 kB / 0.9226 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.646, allocations: 120.7 kB / 0.9227 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.6461, allocations: 134 kB / 0.9229 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.95e-05/0.6462, allocations: 180.2 kB / 0.923 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.893e-05/0.6462, allocations: 108.9 kB / 0.9231 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.6463, allocations: 201.8 kB / 0.9233 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.6464, allocations: 180.2 kB / 0.9235 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.6465, allocations: 108.9 kB / 0.9236 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.6466, allocations: 184.3 kB / 0.9238 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.252e-05/0.6467, allocations: 255.5 kB / 0.924 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001624/0.6468, allocations: 414.7 kB / 0.9244 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.479e-05/0.6469, allocations: 109 kB / 0.9245 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002178/0.6471, allocations: 235 kB / 0.9247 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of Backend: time 5.11e-07/0.6471, allocations: 0 / 0.9247 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.6475, allocations: 102.3 kB / 0.9248 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of SimCode: time 0.001068/0.6485, allocations: 1.141 MB / 0.926 GB, free: 80 kB / 0.6856 GB Notification: Performance of Templates: time 0.005437/0.654, allocations: 2.383 MB / 0.9283 GB, free: 13.74 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)