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.001478/0.001478, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001711/0.001711, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001932/0.001932, allocations: 279.1 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.956/0.956, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 90.97 kB / 0.5945 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1933, allocations: 86.99 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.54/0.7334, allocations: 168 MB / 0.8435 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006452/0.7399, allocations: 5.997 MB / 0.8494 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.7403, allocations: 13.34 kB / 0.8494 GB, free: 13.4 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.000715/0.7411, allocations: 146.1 kB / 0.8496 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.7415, allocations: 81.88 kB / 0.8496 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.7432, allocations: 486.1 kB / 0.8501 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005928/0.7438, allocations: 472.6 kB / 0.8505 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.7441, allocations: 136.4 kB / 0.8507 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.7445, allocations: 175.7 kB / 0.8508 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.7448, allocations: 149.5 kB / 0.851 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.7448, allocations: 10.72 kB / 0.851 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000901/0.7457, allocations: 0.5185 MB / 0.8515 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.7458, allocations: 71.53 kB / 0.8516 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.746, allocations: 99.86 kB / 0.8517 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006931/0.7467, allocations: 466 kB / 0.8521 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7467, allocations: 4 kB / 0.8521 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7467, allocations: 0 / 0.8521 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.7467, allocations: 0 / 0.8521 GB, free: 11.82 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.0006667/0.7474, allocations: 0.5185 MB / 0.8526 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.7474, allocations: 10.78 kB / 0.8526 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/0.7477, allocations: 41.64 kB / 0.8527 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.748, allocations: 259 kB / 0.8529 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.7482, allocations: 138.2 kB / 0.853 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.7482, allocations: 20.38 kB / 0.8531 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004678/0.7487, allocations: 299.3 kB / 0.8534 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.7487, allocations: 2.312 kB / 0.8534 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.7487, allocations: 14.48 kB / 0.8534 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.7487, allocations: 5.219 kB / 0.8534 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.749, allocations: 160.5 kB / 0.8535 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.7504, allocations: 1.577 MB / 0.8551 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/0.7505, allocations: 169.1 kB / 0.8552 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.7505, allocations: 81.55 kB / 0.8553 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.7505, allocations: 75.28 kB / 0.8554 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.7506, allocations: 109.8 kB / 0.8555 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.133e-06/0.7506, allocations: 10.81 kB / 0.8555 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.239e-05/0.7507, allocations: 45.64 kB / 0.8555 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.7508, allocations: 126.7 kB / 0.8557 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.7511, allocations: 314 kB / 0.856 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.7512, allocations: 25.7 kB / 0.856 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.7513, allocations: 187.1 kB / 0.8562 GB, free: 8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.7513, allocations: 6.156 kB / 0.8562 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.7514, allocations: 43.11 kB / 0.8562 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.7515, allocations: 336 kB / 0.8565 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.7516, allocations: 37.38 kB / 0.8566 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.7517, allocations: 165.3 kB / 0.8567 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.752, allocations: 195.2 kB / 0.8569 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.752, allocations: 0 / 0.8569 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003958/0.7524, allocations: 215.9 kB / 0.8571 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.7524, allocations: 7.375 kB / 0.8571 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.7524, allocations: 17.95 kB / 0.8571 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.7525, allocations: 4.281 kB / 0.8571 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.7526, allocations: 40.17 kB / 0.8572 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7526, allocations: 4.844 kB / 0.8572 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.7528, allocations: 33.78 kB / 0.8572 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.7528, allocations: 13 kB / 0.8572 GB, free: 7.035 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.0001381/0.753, allocations: 221.5 kB / 0.8574 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.7531, allocations: 120.9 kB / 0.8576 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.7531, allocations: 133.8 kB / 0.8577 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.955e-05/0.7532, allocations: 184.1 kB / 0.8579 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.033e-05/0.7533, allocations: 183.1 kB / 0.858 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.204e-05/0.7533, allocations: 180.2 kB / 0.8582 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.7536, allocations: 481.8 kB / 0.8587 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-05/0.7537, allocations: 105 kB / 0.8588 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.7537, allocations: 106.6 kB / 0.8589 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.276e-05/0.7538, allocations: 180.3 kB / 0.859 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.7538, allocations: 185.9 kB / 0.8592 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-05/0.7539, allocations: 184.7 kB / 0.8594 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-05/0.754, allocations: 177 kB / 0.8596 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.7541, allocations: 327 kB / 0.8599 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.7542, allocations: 201.5 kB / 0.8601 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.7543, allocations: 190.1 kB / 0.8602 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.7545, allocations: 103.5 kB / 0.8603 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.7545, allocations: 188.2 kB / 0.8605 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.7546, allocations: 101 kB / 0.8606 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002321/0.7548, allocations: 223.1 kB / 0.8608 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7548, allocations: 0 / 0.8608 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003574/0.7552, allocations: 49.72 kB / 0.8609 GB, free: 3.281 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.0003475/0.7555, allocations: 205.9 kB / 0.8611 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001957/0.7557, allocations: 84.27 kB / 0.8612 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7558, allocations: 0 / 0.8612 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.7558, allocations: 0 / 0.8612 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.7563, allocations: 0.5482 MB / 0.8617 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.7569, allocations: 470.5 kB / 0.8621 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.7572, allocations: 0.7379 MB / 0.8629 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.7573, allocations: 39.05 kB / 0.8629 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.7574, allocations: 17.5 kB / 0.8629 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.7574, allocations: 0 / 0.8629 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of Templates: time 0.004815/0.7622, allocations: 1.766 MB / 0.8646 GB, free: 0.5078 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)