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.001379/0.001379, allocations: 112 kB / 16.41 MB, free: 6.453 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.001272/0.001272, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002525, allocations: 284.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9978/0.9978, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002729/0.002729, allocations: 92.12 kB / 0.6822 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5777/0.5804, allocations: 86.98 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1901/0.7705, allocations: 148.4 MB / 0.9121 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006563/0.777, allocations: 4.654 MB / 0.9166 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005733/0.7776, allocations: 11.94 kB / 0.9166 GB, free: 10.29 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.0007498/0.7784, allocations: 162.8 kB / 0.9168 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.7788, allocations: 95.42 kB / 0.9169 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.779, allocations: 59.92 kB / 0.9169 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.7794, allocations: 298.9 kB / 0.9172 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.7797, allocations: 110.1 kB / 0.9173 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.7799, allocations: 115.5 kB / 0.9174 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.7802, allocations: 151.4 kB / 0.9176 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.7802, allocations: 16 kB / 0.9176 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 3.572e-05/0.7802, allocations: 20 kB / 0.9176 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.7804, allocations: 71.75 kB / 0.9177 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.7805, allocations: 99.48 kB / 0.9178 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.7809, allocations: 240.5 kB / 0.918 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7809, allocations: 0 / 0.918 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7809, allocations: 0 / 0.918 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.7809, allocations: 4 kB / 0.918 GB, free: 8.875 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.0006685/0.7816, allocations: 486.9 kB / 0.9185 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.7816, allocations: 12.03 kB / 0.9185 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.094e-05/0.7817, allocations: 28.8 kB / 0.9185 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.7821, allocations: 278.9 kB / 0.9188 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.7822, allocations: 16.81 kB / 0.9188 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.7822, allocations: 20.38 kB / 0.9188 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.7826, allocations: 312.5 kB / 0.9191 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.7827, allocations: 4 kB / 0.9191 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.7827, allocations: 4 kB / 0.9191 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.7827, allocations: 8 kB / 0.9191 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.7829, allocations: 123.7 kB / 0.9192 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.7848, allocations: 1.973 MB / 0.9212 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.7849, allocations: 165.1 kB / 0.9213 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.7849, allocations: 96.06 kB / 0.9214 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.785, allocations: 79.31 kB / 0.9215 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/0.785, allocations: 105.8 kB / 0.9216 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.785, allocations: 0 / 0.9216 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 0.0001034/0.7851, allocations: 57.44 kB / 0.9216 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.7852, allocations: 130.7 kB / 0.9218 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.7856, allocations: 336.5 kB / 0.9221 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.7856, allocations: 25.7 kB / 0.9221 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.7858, allocations: 159.9 kB / 0.9223 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.7858, allocations: 0 / 0.9223 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.7858, allocations: 25.7 kB / 0.9223 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.786, allocations: 334.8 kB / 0.9226 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.786, allocations: 4 kB / 0.9226 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.786, allocations: 58.86 kB / 0.9227 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.03e-05/0.7861, allocations: 74.75 kB / 0.9227 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7861, allocations: 0 / 0.9227 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001947/0.7863, allocations: 109.3 kB / 0.9228 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7864, allocations: 6.75 kB / 0.9228 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7864, allocations: 8 kB / 0.9229 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.7864, allocations: 7.922 kB / 0.9229 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/0.7865, allocations: 19.98 kB / 0.9229 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.7865, allocations: 4 kB / 0.9229 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.715e-05/0.7865, allocations: 27.73 kB / 0.9229 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.7866, allocations: 4 kB / 0.9229 GB, free: 3.465 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.0001718/0.7867, allocations: 217 kB / 0.9231 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/0.7868, allocations: 124.8 kB / 0.9232 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.03e-05/0.7869, allocations: 133.9 kB / 0.9234 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001297/0.787, allocations: 180.3 kB / 0.9235 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001478/0.7872, allocations: 176.3 kB / 0.9237 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.16e-05/0.7873, allocations: 188.1 kB / 0.9239 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.7878, allocations: 473.1 kB / 0.9243 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.705e-05/0.7879, allocations: 108.9 kB / 0.9244 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.201e-05/0.7879, allocations: 109 kB / 0.9245 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.948e-05/0.788, allocations: 176.3 kB / 0.9247 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.449e-05/0.7881, allocations: 184.1 kB / 0.9249 GB, free: 1.305 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.237e-05/0.7882, allocations: 188.2 kB / 0.9251 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.307e-05/0.7883, allocations: 184.2 kB / 0.9252 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.7884, allocations: 327.6 kB / 0.9256 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.7886, allocations: 205.9 kB / 0.9258 GB, free: 364 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.7887, allocations: 180.2 kB / 0.9259 GB, free: 176 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.7889, allocations: 112.9 kB / 0.926 GB, free: 56 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.789, allocations: 180.6 kB / 0.9262 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.789, allocations: 104.9 kB / 0.9263 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002495/0.7893, allocations: 235 kB / 0.9265 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.7893, allocations: 0 / 0.9265 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002901/0.7895, allocations: 31.95 kB / 0.9266 GB, free: 15.5 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.0001428/0.7897, allocations: 178.5 kB / 0.9267 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 9.114e-05/0.7898, allocations: 19.94 kB / 0.9267 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.7898, allocations: 0 / 0.9267 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.7898, allocations: 4.031 kB / 0.9268 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008265/0.7906, allocations: 0.5174 MB / 0.9273 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.7912, allocations: 403.8 kB / 0.9276 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.7916, allocations: 0.744 MB / 0.9284 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 8.427e-05/0.7917, allocations: 34.27 kB / 0.9284 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.7917, allocations: 19.44 kB / 0.9284 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of SimCode: time 4.81e-07/0.7917, allocations: 0 / 0.9284 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of Templates: time 0.006006/0.7977, allocations: 2.366 MB / 0.9307 GB, free: 11.21 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)