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.001187/0.001187, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001375/0.001375, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.48/1.48, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003046/0.003046, allocations: 282.8 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9599/0.9599, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 96.2 kB / 0.5947 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1999, allocations: 86.99 MB / 0.6796 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.491/0.691, allocations: 168 MB / 0.8437 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005619/0.6966, allocations: 5.938 MB / 0.8495 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003072/0.697, allocations: 9.656 kB / 0.8495 GB, free: 13.68 MB / 0.5762 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.0006654/0.6976, allocations: 170.6 kB / 0.8497 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.6979, allocations: 73.03 kB / 0.8498 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.6992, allocations: 498.8 kB / 0.8502 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00043/0.6996, allocations: 408.8 kB / 0.8506 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.6999, allocations: 141 kB / 0.8508 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.7002, allocations: 196.2 kB / 0.851 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.7004, allocations: 147.7 kB / 0.8511 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.7004, allocations: 16 kB / 0.8511 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006448/0.701, allocations: 476.8 kB / 0.8516 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.7011, allocations: 68.83 kB / 0.8516 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.7013, allocations: 109.8 kB / 0.8517 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005772/0.7018, allocations: 473.9 kB / 0.8522 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.7018, allocations: 0 / 0.8522 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7019, allocations: 0 / 0.8522 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7019, allocations: 4 kB / 0.8522 GB, free: 11.98 MB / 0.5762 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.0006398/0.7025, allocations: 0.5166 MB / 0.8527 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.7026, allocations: 10.16 kB / 0.8527 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.7028, allocations: 42.48 kB / 0.8527 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.7031, allocations: 257.2 kB / 0.853 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.7033, allocations: 127.5 kB / 0.8531 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.7033, allocations: 23.62 kB / 0.8531 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.7038, allocations: 298.8 kB / 0.8534 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.7038, allocations: 0 / 0.8534 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.7038, allocations: 14.47 kB / 0.8534 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.7039, allocations: 7.094 kB / 0.8534 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.7041, allocations: 162.2 kB / 0.8536 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.7055, allocations: 1.579 MB / 0.8551 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.7056, allocations: 169.1 kB / 0.8553 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.7057, allocations: 82.8 kB / 0.8554 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.7057, allocations: 79.27 kB / 0.8555 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.7058, allocations: 109.8 kB / 0.8556 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.7058, allocations: 0 / 0.8556 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.000112/0.7059, allocations: 53.3 kB / 0.8556 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.706, allocations: 129.4 kB / 0.8557 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.7063, allocations: 313.8 kB / 0.856 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.7063, allocations: 25.7 kB / 0.8561 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.7065, allocations: 183.2 kB / 0.8562 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-06/0.7065, allocations: 7.906 kB / 0.8562 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.7066, allocations: 41.98 kB / 0.8563 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.7067, allocations: 331.3 kB / 0.8566 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.7068, allocations: 35.66 kB / 0.8566 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.7069, allocations: 166.7 kB / 0.8568 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.7072, allocations: 198 kB / 0.857 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7072, allocations: 1.375 kB / 0.857 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004288/0.7076, allocations: 218.1 kB / 0.8572 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.7076, allocations: 5 kB / 0.8572 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7076, allocations: 9.438 kB / 0.8572 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.7077, allocations: 9.688 kB / 0.8572 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.7078, allocations: 42.38 kB / 0.8572 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.7078, allocations: 5.719 kB / 0.8573 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.708, allocations: 33.31 kB / 0.8573 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.7081, allocations: 15.38 kB / 0.8573 GB, free: 7.207 MB / 0.5762 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.000138/0.7082, allocations: 223.3 kB / 0.8575 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.75e-05/0.7083, allocations: 120.9 kB / 0.8576 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.043e-05/0.7084, allocations: 129.3 kB / 0.8577 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.269e-05/0.7084, allocations: 184.2 kB / 0.8579 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.936e-05/0.7085, allocations: 180.4 kB / 0.8581 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.314e-05/0.7086, allocations: 177.3 kB / 0.8583 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.7089, allocations: 484.1 kB / 0.8587 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.922e-05/0.7089, allocations: 103.5 kB / 0.8588 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.7089, allocations: 112.9 kB / 0.8589 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.277e-05/0.709, allocations: 183 kB / 0.8591 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/0.7091, allocations: 180.2 kB / 0.8593 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.966e-05/0.7091, allocations: 188.2 kB / 0.8595 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.228e-05/0.7092, allocations: 183.7 kB / 0.8596 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.7094, allocations: 325.2 kB / 0.8599 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.7095, allocations: 201.9 kB / 0.8601 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/0.7096, allocations: 184.1 kB / 0.8603 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.7097, allocations: 108 kB / 0.8604 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.7098, allocations: 180.2 kB / 0.8606 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.7098, allocations: 105 kB / 0.8607 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000225/0.7101, allocations: 221.5 kB / 0.8609 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7101, allocations: 0 / 0.8609 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003679/0.7105, allocations: 50.03 kB / 0.8609 GB, free: 3.453 MB / 0.5762 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.0003544/0.7108, allocations: 212.3 kB / 0.8611 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.711, allocations: 79.92 kB / 0.8612 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.711, allocations: 4.062 kB / 0.8612 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.711, allocations: 0 / 0.8612 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.7115, allocations: 484.3 kB / 0.8617 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/0.7121, allocations: 462.9 kB / 0.8621 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.7125, allocations: 0.7317 MB / 0.8628 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.7126, allocations: 33.66 kB / 0.8629 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.7127, allocations: 17.53 kB / 0.8629 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of SimCode: time 3.9e-07/0.7127, allocations: 4 kB / 0.8629 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of Templates: time 0.004779/0.7174, allocations: 1.818 MB / 0.8647 GB, free: 0.7422 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)