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.001089/0.001089, allocations: 102.2 kB / 16.27 MB, free: 6 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.001059/0.001059, allocations: 193.3 kB / 17.2 MB, free: 5.609 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 / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002206, allocations: 286.9 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9595/0.9595, allocations: 169.3 MB / 0.4988 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 100.7 kB / 0.5959 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1781, allocations: 86.98 MB / 0.6808 GB, free: 8.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4585/0.6367, allocations: 148 MB / 0.8254 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004695/0.6415, allocations: 4.647 MB / 0.8299 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002899/0.6418, allocations: 7.938 kB / 0.8299 GB, free: 6.375 MB / 0.5919 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.0006088/0.6424, allocations: 162.9 kB / 0.8301 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.6428, allocations: 95.36 kB / 0.8301 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.6429, allocations: 67.92 kB / 0.8302 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.6433, allocations: 298.9 kB / 0.8305 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.6436, allocations: 146.5 kB / 0.8306 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.6437, allocations: 111.6 kB / 0.8307 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.6439, allocations: 155.4 kB / 0.8309 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.644, allocations: 19.94 kB / 0.8309 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.255e-05/0.644, allocations: 16 kB / 0.8309 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.6441, allocations: 67.81 kB / 0.831 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.6442, allocations: 99.42 kB / 0.8311 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.6444, allocations: 223.2 kB / 0.8313 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6444, allocations: 0 / 0.8313 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6445, allocations: 0 / 0.8313 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.6445, allocations: 4 kB / 0.8313 GB, free: 4.941 MB / 0.5919 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.000444/0.6449, allocations: 487.8 kB / 0.8318 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.645, allocations: 8.031 kB / 0.8318 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.645, allocations: 24.66 kB / 0.8318 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.6453, allocations: 260.8 kB / 0.832 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.6453, allocations: 16.75 kB / 0.8321 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.6453, allocations: 24.38 kB / 0.8321 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.6457, allocations: 301.3 kB / 0.8324 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.6457, allocations: 11.94 kB / 0.8324 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.6457, allocations: 12 kB / 0.8324 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.6458, allocations: 4 kB / 0.8324 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.6459, allocations: 123.7 kB / 0.8325 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.6471, allocations: 1.969 MB / 0.8344 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.8e-05/0.6472, allocations: 177.1 kB / 0.8346 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.6473, allocations: 84.12 kB / 0.8347 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.6473, allocations: 75.28 kB / 0.8348 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.6474, allocations: 109.8 kB / 0.8349 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.6474, allocations: 4 kB / 0.8349 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.074e-05/0.6475, allocations: 53.36 kB / 0.8349 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.6475, allocations: 126.7 kB / 0.835 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.6479, allocations: 336.5 kB / 0.8354 GB, free: 492 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.6479, allocations: 25.7 kB / 0.8354 GB, free: 460 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.648, allocations: 163.7 kB / 0.8355 GB, free: 292 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.648, allocations: 4 kB / 0.8355 GB, free: 288 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.648, allocations: 17.72 kB / 0.8356 GB, free: 264 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.6482, allocations: 342.8 kB / 0.8359 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.6482, allocations: 4 kB / 0.8359 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.3e-05/0.6483, allocations: 55.8 kB / 0.836 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.68e-05/0.6483, allocations: 74.73 kB / 0.836 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6483, allocations: 0 / 0.836 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001677/0.6485, allocations: 101.3 kB / 0.8361 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.6485, allocations: 8 kB / 0.8361 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6486, allocations: 7.875 kB / 0.8361 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.6486, allocations: 7.938 kB / 0.8361 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/0.6486, allocations: 15.98 kB / 0.8362 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.6487, allocations: 0 / 0.8362 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.478e-05/0.6487, allocations: 31.59 kB / 0.8362 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.6488, allocations: 4 kB / 0.8362 GB, free: 15.55 MB / 0.6075 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.000126/0.6489, allocations: 221.2 kB / 0.8364 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.649, allocations: 124.7 kB / 0.8365 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/0.649, allocations: 122 kB / 0.8366 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.956e-05/0.6491, allocations: 188.1 kB / 0.8368 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.749e-05/0.6492, allocations: 180.2 kB / 0.837 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.94e-05/0.6492, allocations: 192.2 kB / 0.8372 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.6495, allocations: 477.2 kB / 0.8376 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/0.6496, allocations: 101 kB / 0.8377 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.6496, allocations: 108.9 kB / 0.8378 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.499e-05/0.6497, allocations: 176.3 kB / 0.838 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/0.6497, allocations: 184.2 kB / 0.8382 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-05/0.6498, allocations: 184.2 kB / 0.8383 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.737e-05/0.6498, allocations: 181.8 kB / 0.8385 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.65, allocations: 335.7 kB / 0.8388 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.627e-05/0.6501, allocations: 205.8 kB / 0.839 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.073e-05/0.6502, allocations: 180.3 kB / 0.8392 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.6503, allocations: 104.9 kB / 0.8393 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.6503, allocations: 184.2 kB / 0.8395 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.6504, allocations: 105 kB / 0.8396 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002316/0.6506, allocations: 235 kB / 0.8398 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6506, allocations: 0 / 0.8398 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002612/0.6509, allocations: 27.91 kB / 0.8398 GB, free: 11.6 MB / 0.6075 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.0001214/0.651, allocations: 178.5 kB / 0.84 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.671e-05/0.6511, allocations: 27.88 kB / 0.84 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6511, allocations: 0 / 0.84 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.6511, allocations: 0 / 0.84 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.6518, allocations: 0.5229 MB / 0.8405 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.6524, allocations: 430.1 kB / 0.841 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.6527, allocations: 0.7478 MB / 0.8417 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.6527, allocations: 19.44 kB / 0.8417 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of SimCode: time 1.803e-06/0.6527, allocations: 0 / 0.8417 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of Templates: time 0.004487/0.6572, allocations: 2.604 MB / 0.8442 GB, free: 7.047 MB / 0.6075 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)