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.001104/0.001104, allocations: 101.6 kB / 16.27 MB, free: 6.414 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.001113/0.001114, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.283/1.283, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 282.9 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9318/0.9318, allocations: 169.2 MB / 0.4988 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 94.39 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1742, allocations: 86.98 MB / 0.6808 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4852/0.6595, allocations: 170.3 MB / 0.8472 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00708/0.6666, allocations: 6.003 MB / 0.853 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/0.667, allocations: 7.938 kB / 0.853 GB, free: 14.68 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.0007444/0.6678, allocations: 186.7 kB / 0.8532 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0004453/0.6683, allocations: 95.36 kB / 0.8533 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.6697, allocations: 0.5177 MB / 0.8538 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0006247/0.6703, allocations: 414.7 kB / 0.8542 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/0.6707, allocations: 135.6 kB / 0.8543 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004587/0.6712, allocations: 195.2 kB / 0.8545 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.6714, allocations: 143.4 kB / 0.8547 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.6715, allocations: 16 kB / 0.8547 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008886/0.6724, allocations: 462.8 kB / 0.8551 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.6725, allocations: 67.81 kB / 0.8552 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.6726, allocations: 99.48 kB / 0.8553 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008112/0.6735, allocations: 442.7 kB / 0.8557 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6735, allocations: 3.938 kB / 0.8557 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.985e-06/0.6735, allocations: 0 / 0.8557 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.6735, allocations: 7.938 kB / 0.8557 GB, free: 11.94 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.0007405/0.6742, allocations: 0.5152 MB / 0.8562 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.6743, allocations: 12.03 kB / 0.8562 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.6746, allocations: 35.8 kB / 0.8563 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.675, allocations: 255.5 kB / 0.8565 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.6751, allocations: 131.4 kB / 0.8566 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.6751, allocations: 20 kB / 0.8566 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.6756, allocations: 298.8 kB / 0.8569 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.6756, allocations: 3.938 kB / 0.8569 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.6757, allocations: 12 kB / 0.8569 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.6757, allocations: 7.938 kB / 0.8569 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.676, allocations: 160.6 kB / 0.8571 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.6774, allocations: 1.571 MB / 0.8586 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.276e-05/0.6776, allocations: 181.1 kB / 0.8588 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.6776, allocations: 84.12 kB / 0.8589 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.6776, allocations: 75.28 kB / 0.859 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.6777, allocations: 109.3 kB / 0.8591 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 2.314e-06/0.6777, allocations: 0 / 0.8591 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 0.0001086/0.6778, allocations: 57.3 kB / 0.8591 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.6779, allocations: 130.7 kB / 0.8592 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.6782, allocations: 314.5 kB / 0.8595 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.6783, allocations: 25.7 kB / 0.8596 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.6784, allocations: 191.2 kB / 0.8598 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.6784, allocations: 0 / 0.8598 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.6785, allocations: 49.55 kB / 0.8598 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6786, allocations: 326.8 kB / 0.8601 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.481e-05/0.6787, allocations: 43.97 kB / 0.8602 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.6789, allocations: 162.8 kB / 0.8603 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.6791, allocations: 192.9 kB / 0.8605 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.6791, allocations: 7.938 kB / 0.8605 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004291/0.6796, allocations: 209.1 kB / 0.8607 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6796, allocations: 4 kB / 0.8607 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.6796, allocations: 8.562 kB / 0.8607 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.6796, allocations: 15.98 kB / 0.8607 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.6798, allocations: 39.91 kB / 0.8608 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.6798, allocations: 11.94 kB / 0.8608 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.68, allocations: 31.59 kB / 0.8608 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.68, allocations: 12 kB / 0.8608 GB, free: 6.262 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.0001451/0.6802, allocations: 221 kB / 0.861 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.6803, allocations: 124.8 kB / 0.8611 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.709e-05/0.6803, allocations: 133.7 kB / 0.8613 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.494e-05/0.6804, allocations: 176.3 kB / 0.8614 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-05/0.6805, allocations: 176.3 kB / 0.8616 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.366e-05/0.6805, allocations: 180.2 kB / 0.8618 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.6809, allocations: 485.1 kB / 0.8622 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.197e-05/0.6809, allocations: 104.9 kB / 0.8623 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.6809, allocations: 109 kB / 0.8624 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.503e-05/0.681, allocations: 176.3 kB / 0.8626 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/0.6811, allocations: 184.3 kB / 0.8628 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.787e-05/0.6811, allocations: 176.3 kB / 0.863 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-05/0.6812, allocations: 192.2 kB / 0.8631 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.6814, allocations: 319.6 kB / 0.8634 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.6815, allocations: 209.7 kB / 0.8636 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.072e-05/0.6816, allocations: 184.2 kB / 0.8638 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.6817, allocations: 124 kB / 0.8639 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.6818, allocations: 176.3 kB / 0.8641 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.6818, allocations: 109 kB / 0.8642 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002321/0.6821, allocations: 217.9 kB / 0.8644 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6821, allocations: 0 / 0.8644 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003688/0.6824, allocations: 55.94 kB / 0.8645 GB, free: 2.293 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.00032/0.6828, allocations: 202.5 kB / 0.8647 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.683, allocations: 84.58 kB / 0.8648 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.683, allocations: 4.438 kB / 0.8648 GB, free: 2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.683, allocations: 0 / 0.8648 GB, free: 2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.6835, allocations: 477.7 kB / 0.8652 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.6841, allocations: 434.4 kB / 0.8656 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.6844, allocations: 0.7398 MB / 0.8663 GB, free: 312 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.6845, allocations: 23.42 kB / 0.8664 GB, free: 288 kB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.6845, allocations: 0 / 0.8664 GB, free: 288 kB / 0.6231 GB Notification: Performance of Templates: time 0.005329/0.6898, allocations: 2.828 MB / 0.8691 GB, free: 13.47 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)