Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001172/0.001173, allocations: 189 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.2 MB / 0.5484 GB, free: 13.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.42 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2779, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.7542/1.032, allocations: 168.1 MB / 0.9468 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006493/1.039, allocations: 5.993 MB / 0.9527 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004834/1.039, allocations: 3.812 kB / 0.9527 GB, free: 5.547 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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.0007022/1.04, allocations: 152 kB / 0.9528 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003296/1.04, allocations: 87.08 kB / 0.9529 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/1.042, allocations: 492.1 kB / 0.9534 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005851/1.042, allocations: 469.1 kB / 0.9538 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/1.043, allocations: 132.3 kB / 0.9539 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/1.043, allocations: 176.8 kB / 0.9541 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/1.043, allocations: 150.1 kB / 0.9542 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/1.044, allocations: 11.41 kB / 0.9543 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/1.045, allocations: 0.5193 MB / 0.9548 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/1.045, allocations: 61.62 kB / 0.9548 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/1.045, allocations: 101.1 kB / 0.9549 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008605/1.046, allocations: 469.7 kB / 0.9554 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.046, allocations: 1.203 kB / 0.9554 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/1.046, allocations: 0.9375 kB / 0.9554 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.046, allocations: 0 / 0.9554 GB, free: 5.449 MB / 0.7325 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.001053/1.047, allocations: 0.5252 MB / 0.9559 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.047, allocations: 8.719 kB / 0.9559 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/1.047, allocations: 42.52 kB / 0.9559 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/1.048, allocations: 255.5 kB / 0.9562 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/1.048, allocations: 130.4 kB / 0.9563 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/1.048, allocations: 20.47 kB / 0.9563 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/1.048, allocations: 303.2 kB / 0.9566 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/1.049, allocations: 3.938 kB / 0.9566 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/1.049, allocations: 9.781 kB / 0.9566 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/1.049, allocations: 6.625 kB / 0.9566 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/1.049, allocations: 159.5 kB / 0.9568 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/1.05, allocations: 1.578 MB / 0.9583 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 9.864e-05/1.05, allocations: 177.2 kB / 0.9585 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/1.05, allocations: 81.23 kB / 0.9586 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/1.051, allocations: 79.27 kB / 0.9586 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/1.051, allocations: 109.6 kB / 0.9587 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/1.051, allocations: 0 / 0.9587 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 9.781e-05/1.051, allocations: 57.02 kB / 0.9588 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/1.051, allocations: 134.5 kB / 0.9589 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/1.051, allocations: 309.7 kB / 0.9592 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/1.051, allocations: 25.7 kB / 0.9592 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/1.051, allocations: 186.5 kB / 0.9594 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/1.051, allocations: 10.03 kB / 0.9594 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-05/1.051, allocations: 42.41 kB / 0.9595 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.052, allocations: 333.5 kB / 0.9598 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/1.052, allocations: 34.81 kB / 0.9598 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/1.052, allocations: 159.8 kB / 0.96 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/1.052, allocations: 201.5 kB / 0.9602 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.052, allocations: 1.312 kB / 0.9602 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004602/1.052, allocations: 219.2 kB / 0.9604 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/1.053, allocations: 6.688 kB / 0.9604 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.053, allocations: 8.344 kB / 0.9604 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/1.053, allocations: 5.844 kB / 0.9604 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/1.053, allocations: 41.95 kB / 0.9604 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/1.053, allocations: 15 kB / 0.9605 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/1.053, allocations: 25.75 kB / 0.9605 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/1.053, allocations: 13.53 kB / 0.9605 GB, free: 17.59 MB / 0.7481 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.0001617/1.053, allocations: 216.5 kB / 0.9607 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/1.053, allocations: 124.5 kB / 0.9608 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.934e-05/1.053, allocations: 125.3 kB / 0.9609 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-05/1.053, allocations: 183.8 kB / 0.9611 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.079e-05/1.054, allocations: 179.6 kB / 0.9613 GB, free: 16.81 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.628e-05/1.054, allocations: 182.2 kB / 0.9615 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/1.054, allocations: 481 kB / 0.9619 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/1.054, allocations: 106.1 kB / 0.962 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/1.054, allocations: 105 kB / 0.9621 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.686e-05/1.054, allocations: 182.2 kB / 0.9623 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/1.054, allocations: 186.8 kB / 0.9625 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.874e-05/1.054, allocations: 177.4 kB / 0.9626 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.689e-05/1.054, allocations: 183.1 kB / 0.9628 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/1.054, allocations: 331.1 kB / 0.9631 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/1.055, allocations: 201.4 kB / 0.9633 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.829e-05/1.055, allocations: 184.2 kB / 0.9635 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/1.055, allocations: 106 kB / 0.9636 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/1.055, allocations: 183.2 kB / 0.9638 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/1.055, allocations: 105.6 kB / 0.9639 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003166/1.055, allocations: 223 kB / 0.9641 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/1.055, allocations: 0.5 kB / 0.9641 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004628/1.056, allocations: 57.59 kB / 0.9641 GB, free: 14.05 MB / 0.7481 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.0004394/1.056, allocations: 207.5 kB / 0.9643 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002555/1.056, allocations: 80.77 kB / 0.9644 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.056, allocations: 0.5312 kB / 0.9644 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/1.056, allocations: 0.5 kB / 0.9644 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/1.057, allocations: 0.548 MB / 0.9649 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006933/1.058, allocations: 469.3 kB / 0.9654 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/1.058, allocations: 0.7334 MB / 0.9661 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001725/1.058, allocations: 37.81 kB / 0.9661 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/1.058, allocations: 16.16 kB / 0.9662 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/1.058, allocations: 0.5 kB / 0.9662 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of Templates: time 0.005478/1.064, allocations: 1.762 MB / 0.9679 GB, free: 12.14 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)