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.001149/0.001149, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.001286/0.001286, allocations: 187 kB / 17.34 MB, free: 5.734 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 298.9 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.9823/0.9823, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003317/0.003318, allocations: 96.06 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.5074, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.159/0.6664, allocations: 148 MB / 0.9116 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004684/0.6711, allocations: 4.654 MB / 0.9162 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.6714, allocations: 8 kB / 0.9162 GB, free: 10.7 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.0004894/0.6719, allocations: 158.8 kB / 0.9163 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.6722, allocations: 87.44 kB / 0.9164 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.6724, allocations: 71.91 kB / 0.9165 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.6727, allocations: 298.9 kB / 0.9167 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.673, allocations: 157.6 kB / 0.9169 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.6732, allocations: 115.5 kB / 0.917 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.6734, allocations: 155.5 kB / 0.9172 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.6734, allocations: 16 kB / 0.9172 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 3.17e-05/0.6735, allocations: 16 kB / 0.9172 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.6736, allocations: 63.83 kB / 0.9172 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 9.511e-05/0.6737, allocations: 99.42 kB / 0.9173 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.6739, allocations: 237.5 kB / 0.9176 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6739, allocations: 8 kB / 0.9176 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6739, allocations: 0 / 0.9176 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.6739, allocations: 0 / 0.9176 GB, free: 9.242 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.0004747/0.6744, allocations: 487.1 kB / 0.918 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.6745, allocations: 12.03 kB / 0.9181 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.6745, allocations: 28.64 kB / 0.9181 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.6749, allocations: 263 kB / 0.9183 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.6749, allocations: 12.81 kB / 0.9183 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.6749, allocations: 28.38 kB / 0.9184 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.6753, allocations: 301 kB / 0.9187 GB, free: 8 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.6753, allocations: 11.92 kB / 0.9187 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.6754, allocations: 12 kB / 0.9187 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.6754, allocations: 4 kB / 0.9187 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.6755, allocations: 119.8 kB / 0.9188 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.6768, allocations: 1.969 MB / 0.9207 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 8.675e-05/0.6769, allocations: 177.1 kB / 0.9209 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.6769, allocations: 80.14 kB / 0.921 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.677, allocations: 79.22 kB / 0.921 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.677, allocations: 109.9 kB / 0.9211 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.677, allocations: 0 / 0.9211 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 8.497e-05/0.6771, allocations: 53.36 kB / 0.9212 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.6772, allocations: 130.7 kB / 0.9213 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.6775, allocations: 336.4 kB / 0.9216 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.6775, allocations: 25.7 kB / 0.9217 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.6776, allocations: 159.7 kB / 0.9218 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.6776, allocations: 0 / 0.9218 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.6777, allocations: 25.7 kB / 0.9218 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6778, allocations: 330.8 kB / 0.9222 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.6778, allocations: 11.98 kB / 0.9222 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-05/0.6779, allocations: 58.8 kB / 0.9222 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.292e-05/0.678, allocations: 78.73 kB / 0.9223 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.678, allocations: 0 / 0.9223 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001766/0.6782, allocations: 109.2 kB / 0.9224 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.6782, allocations: 4 kB / 0.9224 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6782, allocations: 4 kB / 0.9224 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6782, allocations: 3.938 kB / 0.9224 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.6783, allocations: 19.92 kB / 0.9224 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.6783, allocations: 4 kB / 0.9224 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.526e-05/0.6784, allocations: 27.69 kB / 0.9225 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.6784, allocations: 4 kB / 0.9225 GB, free: 3.852 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.0001292/0.6785, allocations: 217.2 kB / 0.9227 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.6786, allocations: 128.6 kB / 0.9228 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.6787, allocations: 126 kB / 0.9229 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.343e-05/0.6788, allocations: 180.2 kB / 0.9231 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.624e-05/0.6788, allocations: 188.2 kB / 0.9233 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.537e-05/0.6789, allocations: 176.3 kB / 0.9234 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.6792, allocations: 485.1 kB / 0.9239 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/0.6793, allocations: 105 kB / 0.924 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.6793, allocations: 104.9 kB / 0.9241 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.53e-05/0.6794, allocations: 176.3 kB / 0.9243 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/0.6794, allocations: 180.2 kB / 0.9244 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-05/0.6795, allocations: 192.2 kB / 0.9246 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-05/0.6796, allocations: 184.2 kB / 0.9248 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.6797, allocations: 319.5 kB / 0.9251 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.6798, allocations: 205.8 kB / 0.9253 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/0.6799, allocations: 188.1 kB / 0.9255 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/0.68, allocations: 105 kB / 0.9256 GB, free: 460 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.6801, allocations: 184.5 kB / 0.9258 GB, free: 268 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.6801, allocations: 105 kB / 0.9259 GB, free: 156 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002266/0.6804, allocations: 239 kB / 0.9261 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6804, allocations: 0 / 0.9261 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002504/0.6806, allocations: 24 kB / 0.9261 GB, free: 15.89 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.0001294/0.6808, allocations: 174.5 kB / 0.9263 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.717e-05/0.6808, allocations: 23.92 kB / 0.9263 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6809, allocations: 3.938 kB / 0.9263 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.6809, allocations: 4.031 kB / 0.9263 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.6815, allocations: 0.5233 MB / 0.9268 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.6821, allocations: 435.9 kB / 0.9272 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.6824, allocations: 0.7401 MB / 0.928 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.6824, allocations: 19.44 kB / 0.928 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of SimCode: time 2.4e-07/0.6824, allocations: 4 kB / 0.928 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of Templates: time 0.004263/0.6867, allocations: 2.649 MB / 0.9306 GB, free: 11.29 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)