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.001157/0.001157, allocations: 113.2 kB / 16.37 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.00201/0.00201, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.36/1.36, 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.002111/0.002111, allocations: 283.3 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.9558/0.9558, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002079, allocations: 95.23 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1626, allocations: 86.98 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4535/0.6161, allocations: 170.3 MB / 0.8479 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005997/0.6221, allocations: 6.003 MB / 0.8538 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.6223, allocations: 15.88 kB / 0.8538 GB, free: 14.09 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.0006073/0.6229, allocations: 190.7 kB / 0.854 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.6232, allocations: 83.44 kB / 0.8541 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.6242, allocations: 0.5138 MB / 0.8546 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.6247, allocations: 414.7 kB / 0.855 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.6249, allocations: 135.6 kB / 0.8551 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.6252, allocations: 195.3 kB / 0.8553 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.6254, allocations: 143.4 kB / 0.8554 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.6255, allocations: 20 kB / 0.8554 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000695/0.6262, allocations: 462.8 kB / 0.8559 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.073e-05/0.6263, allocations: 67.81 kB / 0.856 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 9.931e-05/0.6264, allocations: 103.5 kB / 0.8561 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000571/0.627, allocations: 457.3 kB / 0.8565 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.627, allocations: 4 kB / 0.8565 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.242e-06/0.627, allocations: 0 / 0.8565 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.627, allocations: 0 / 0.8565 GB, free: 11.35 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.0005285/0.6275, allocations: 0.5074 MB / 0.857 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.6276, allocations: 16.02 kB / 0.857 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.6278, allocations: 35.8 kB / 0.857 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.6282, allocations: 273.3 kB / 0.8573 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.6283, allocations: 131.4 kB / 0.8574 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.6284, allocations: 24 kB / 0.8574 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.6288, allocations: 302.6 kB / 0.8577 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6288, allocations: 0 / 0.8577 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.6289, allocations: 12 kB / 0.8577 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.6289, allocations: 4 kB / 0.8577 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.6292, allocations: 160.6 kB / 0.8579 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.6305, allocations: 1.583 MB / 0.8594 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.438e-05/0.6306, allocations: 169.1 kB / 0.8596 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.6306, allocations: 80.14 kB / 0.8597 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.6306, allocations: 79.28 kB / 0.8598 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.6307, allocations: 109.8 kB / 0.8599 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6307, allocations: 0 / 0.8599 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 8.387e-05/0.6308, allocations: 53.36 kB / 0.8599 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.6308, allocations: 126.7 kB / 0.86 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.6312, allocations: 314.5 kB / 0.8603 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.6312, allocations: 25.7 kB / 0.8604 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.6313, allocations: 187.2 kB / 0.8605 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.6313, allocations: 8 kB / 0.8605 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.6314, allocations: 45.61 kB / 0.8606 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6315, allocations: 326.8 kB / 0.8609 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.6316, allocations: 35.97 kB / 0.8609 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.6318, allocations: 165 kB / 0.8611 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.632, allocations: 196.9 kB / 0.8613 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.632, allocations: 4 kB / 0.8613 GB, free: 6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004003/0.6324, allocations: 217.4 kB / 0.8615 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6325, allocations: 4 kB / 0.8615 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.6325, allocations: 7.938 kB / 0.8615 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6325, allocations: 8 kB / 0.8615 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.6327, allocations: 39.92 kB / 0.8616 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6327, allocations: 11.94 kB / 0.8616 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.6328, allocations: 27.59 kB / 0.8616 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.6329, allocations: 16.88 kB / 0.8616 GB, free: 5.668 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.0001498/0.633, allocations: 225.1 kB / 0.8618 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.6331, allocations: 124.8 kB / 0.8619 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.6332, allocations: 121.8 kB / 0.8621 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.561e-05/0.6333, allocations: 184.2 kB / 0.8622 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.827e-05/0.6333, allocations: 180.2 kB / 0.8624 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.205e-05/0.6334, allocations: 188.2 kB / 0.8626 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.6337, allocations: 481.1 kB / 0.863 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/0.6337, allocations: 104.9 kB / 0.8631 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.6338, allocations: 108.9 kB / 0.8632 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.997e-05/0.6338, allocations: 176.3 kB / 0.8634 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/0.6339, allocations: 188.3 kB / 0.8636 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.589e-05/0.634, allocations: 188.2 kB / 0.8638 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.712e-05/0.634, allocations: 184.3 kB / 0.8639 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.6342, allocations: 315.6 kB / 0.8642 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.6343, allocations: 209.7 kB / 0.8644 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.6344, allocations: 192.2 kB / 0.8646 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.6345, allocations: 105 kB / 0.8647 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.6346, allocations: 180.2 kB / 0.8649 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.6346, allocations: 101 kB / 0.865 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00023/0.6348, allocations: 221.9 kB / 0.8652 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6348, allocations: 0 / 0.8652 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003467/0.6352, allocations: 51.94 kB / 0.8653 GB, free: 1.703 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.0002298/0.6354, allocations: 215.5 kB / 0.8655 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.6356, allocations: 79.78 kB / 0.8655 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6356, allocations: 0 / 0.8655 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/0.6356, allocations: 3.938 kB / 0.8655 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.6361, allocations: 481.5 kB / 0.866 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.6366, allocations: 392.8 kB / 0.8664 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.6369, allocations: 0.7437 MB / 0.8671 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.637, allocations: 33.94 kB / 0.8671 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.6371, allocations: 19.44 kB / 0.8672 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of SimCode: time 3.7e-07/0.6371, allocations: 0 / 0.8672 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.004619/0.6417, allocations: 1.829 MB / 0.8689 GB, free: 13.89 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)