Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 105.8 kB / 16.37 MB, free: 5.547 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.001054/0.001054, allocations: 195.7 kB / 17.3 MB, free: 5.184 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 298.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8846/0.8846, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.001691, allocations: 90.11 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.174, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4826/0.6567, allocations: 170.3 MB / 0.8479 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00579/0.6625, allocations: 6.003 MB / 0.8538 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.6628, allocations: 8 kB / 0.8538 GB, free: 14.15 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) 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/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) 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/AirToOutlet.mo:96:3-98: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). Notification: Performance of NFTyping.typeComponents: time 0.0006064/0.6635, allocations: 190.7 kB / 0.854 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.6638, allocations: 87.38 kB / 0.8541 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.6652, allocations: 0.5216 MB / 0.8546 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0006102/0.6658, allocations: 410.7 kB / 0.855 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.6661, allocations: 143.6 kB / 0.8551 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.6665, allocations: 187.2 kB / 0.8553 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.6668, allocations: 151.4 kB / 0.8554 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.6668, allocations: 16 kB / 0.8554 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009414/0.6678, allocations: 458.8 kB / 0.8559 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.6679, allocations: 71.81 kB / 0.8559 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.668, allocations: 103.5 kB / 0.856 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006416/0.6686, allocations: 457.3 kB / 0.8565 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6686, allocations: 0 / 0.8565 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6687, allocations: 0 / 0.8565 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.6687, allocations: 0 / 0.8565 GB, free: 11.39 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006318/0.6693, allocations: 0.5152 MB / 0.857 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.6694, allocations: 8.031 kB / 0.857 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/0.6697, allocations: 39.8 kB / 0.857 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.6701, allocations: 268.9 kB / 0.8573 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.6703, allocations: 131.4 kB / 0.8574 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.6704, allocations: 24 kB / 0.8574 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.6709, allocations: 294.8 kB / 0.8577 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.6709, allocations: 0 / 0.8577 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.6709, allocations: 12 kB / 0.8577 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.6709, allocations: 11.94 kB / 0.8577 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.6712, allocations: 160.6 kB / 0.8579 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.6727, allocations: 1.587 MB / 0.8594 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.58e-05/0.6728, allocations: 165.1 kB / 0.8596 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.6728, allocations: 88.14 kB / 0.8597 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.6729, allocations: 75.28 kB / 0.8598 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.6729, allocations: 105.8 kB / 0.8599 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.6729, allocations: 4 kB / 0.8599 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 9.249e-05/0.673, allocations: 53.3 kB / 0.8599 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.6731, allocations: 126.7 kB / 0.86 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.6734, allocations: 314.5 kB / 0.8603 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.6735, allocations: 29.7 kB / 0.8604 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.6736, allocations: 187.2 kB / 0.8605 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.6736, allocations: 0 / 0.8605 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.6737, allocations: 45.61 kB / 0.8606 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6738, allocations: 330.8 kB / 0.8609 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.6739, allocations: 35.98 kB / 0.8609 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.6741, allocations: 172.7 kB / 0.8611 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.6743, allocations: 192.9 kB / 0.8613 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6743, allocations: 0 / 0.8613 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003798/0.6747, allocations: 221.2 kB / 0.8615 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6747, allocations: 8 kB / 0.8615 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6747, allocations: 7.938 kB / 0.8615 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6747, allocations: 4 kB / 0.8615 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.6749, allocations: 43.91 kB / 0.8616 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.6749, allocations: 4 kB / 0.8616 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.6751, allocations: 36.03 kB / 0.8616 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.6751, allocations: 8 kB / 0.8616 GB, free: 5.715 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001318/0.6752, allocations: 225 kB / 0.8618 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.6753, allocations: 124.8 kB / 0.8619 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.6754, allocations: 129.8 kB / 0.8621 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.754e-05/0.6755, allocations: 176.3 kB / 0.8622 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.157e-05/0.6755, allocations: 184.2 kB / 0.8624 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.215e-05/0.6756, allocations: 184.3 kB / 0.8626 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.6759, allocations: 481.1 kB / 0.863 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-05/0.6759, allocations: 105 kB / 0.8631 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.676, allocations: 101 kB / 0.8632 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.312e-05/0.676, allocations: 184.1 kB / 0.8634 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.326e-05/0.6761, allocations: 196.3 kB / 0.8636 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-05/0.6761, allocations: 180.2 kB / 0.8638 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-05/0.6762, allocations: 180.3 kB / 0.8639 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.6763, allocations: 319.6 kB / 0.8642 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.6764, allocations: 209.7 kB / 0.8644 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.6765, allocations: 192.1 kB / 0.8646 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.6767, allocations: 105 kB / 0.8647 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.6767, allocations: 188.2 kB / 0.8649 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.6768, allocations: 101 kB / 0.865 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002128/0.677, allocations: 217.9 kB / 0.8652 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.677, allocations: 0 / 0.8652 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003359/0.6773, allocations: 59.92 kB / 0.8653 GB, free: 1.738 MB / 0.6231 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.0002595/0.6776, allocations: 209.8 kB / 0.8655 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.6778, allocations: 75.78 kB / 0.8655 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6778, allocations: 0 / 0.8655 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.6778, allocations: 1.25 kB / 0.8655 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.6783, allocations: 492.2 kB / 0.866 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.6788, allocations: 392.8 kB / 0.8664 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.6791, allocations: 0.7359 MB / 0.8671 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.6792, allocations: 39.44 kB / 0.8671 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.6793, allocations: 15.44 kB / 0.8672 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of SimCode: time 2.11e-07/0.6793, allocations: 0 / 0.8672 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of Templates: time 0.00471/0.684, allocations: 1.83 MB / 0.8689 GB, free: 13.94 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)