Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009785/0.009792, allocations: 89.36 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001211/0.001211, allocations: 168.2 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.099/2.099, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.453/2.453, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006523/0.0006526, allocations: 13.28 kB / 0.6243 GB, free: 21.06 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2417, allocations: 106.2 MB / 0.7281 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.1124/0.3542, allocations: 60.66 MB / 0.7873 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04324/0.3975, allocations: 17.7 MB / 0.8046 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004031/0.4016, allocations: 79.38 kB / 0.8047 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006071/0.4077, allocations: 1.128 MB / 0.8058 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01341/0.4212, allocations: 2.684 MB / 0.8084 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01714/0.4384, allocations: 3.577 MB / 0.8119 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.4503, allocations: 4.838 MB / 0.8166 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01266/0.463, allocations: 5.448 MB / 0.8219 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00885/0.4719, allocations: 2.499 MB / 0.8244 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005339/0.4773, allocations: 1.77 MB / 0.8261 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.4787, allocations: 132 kB / 0.8262 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005635/0.4843, allocations: 1.182 MB / 0.8274 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00184/0.4862, allocations: 0.6185 MB / 0.828 GB, free: 1.555 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.4883, allocations: 0.6756 MB / 0.8286 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.6446/1.133, allocations: 3.715 MB / 0.8323 GB, free: 26.94 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.133, allocations: 0.7812 kB / 0.8323 GB, free: 26.94 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.096e-06/1.133, allocations: 0.8125 kB / 0.8323 GB, free: 26.94 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000229/1.133, allocations: 0 / 0.8323 GB, free: 26.94 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 414 * Number of variables: 414 Notification: Performance of Generate backend data structure: time 0.0192/1.152, allocations: 4.013 MB / 0.8362 GB, free: 25.15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/1.153, allocations: 9.438 kB / 0.8362 GB, free: 25.15 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001935/1.155, allocations: 247.7 kB / 0.8364 GB, free: 25.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007353/1.162, allocations: 0.5849 MB / 0.837 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/1.177, allocations: 2.543 MB / 0.8395 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004681/1.177, allocations: 149.2 kB / 0.8396 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/1.179, allocations: 193.7 kB / 0.8398 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/1.194, allocations: 2.519 MB / 0.8423 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/1.194, allocations: 8.812 kB / 0.8423 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001286/1.196, allocations: 68.19 kB / 0.8424 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.908e-05/1.196, allocations: 41.59 kB / 0.8424 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/1.208, allocations: 2.077 MB / 0.8444 GB, free: 23.83 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03766/1.246, allocations: 12.4 MB / 0.8565 GB, free: 17.76 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007317/1.253, allocations: 1.653 MB / 0.8581 GB, free: 17.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01627/1.27, allocations: 4.276 MB / 0.8623 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003785/1.274, allocations: 0.9187 MB / 0.8632 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004196/1.278, allocations: 455.6 kB / 0.8636 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 1.396e-05/1.278, allocations: 3.984 kB / 0.8637 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=104): time 0.03311/1.311, allocations: 5.286 MB / 0.8688 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.311, allocations: 220.9 kB / 0.869 GB, free: 14.86 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.321, allocations: 3.144 MB / 0.8721 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006697/1.322, allocations: 60.42 kB / 0.8722 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.002728/1.325, allocations: 1.484 MB / 0.8736 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008744/1.326, allocations: 375.8 kB / 0.874 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/1.326, allocations: 31.22 kB / 0.874 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001839/1.326, allocations: 367.4 kB / 0.8743 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/1.329, allocations: 0.7621 MB / 0.8751 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004182/1.334, allocations: 1.599 MB / 0.8766 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003749/1.338, allocations: 0.9922 MB / 0.8776 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.05e-05/1.338, allocations: 3.406 kB / 0.8776 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.01476/1.352, allocations: 3.145 MB / 0.8807 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001587/1.354, allocations: 6.215 MB / 0.8868 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001135/1.354, allocations: 18.03 kB / 0.8868 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005583/1.36, allocations: 0.7737 MB / 0.8875 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/1.363, allocations: 343.5 kB / 0.8879 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/1.367, allocations: 2.169 MB / 0.89 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006019/1.373, allocations: 251.3 kB / 0.8902 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007011/1.373, allocations: 89.48 kB / 0.8903 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.374, allocations: 3.156 kB / 0.8903 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009125/1.383, allocations: 2.475 MB / 0.8927 GB, free: 2.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-05/1.383, allocations: 21.75 kB / 0.8927 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/1.386, allocations: 0.5803 MB / 0.8933 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/1.388, allocations: 310.2 kB / 0.8936 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/1.403, allocations: 6.626 MB / 0.9001 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005487/1.408, allocations: 245.6 kB / 0.9003 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006102/1.409, allocations: 69.7 kB / 0.9004 GB, free: 14.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 141 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.003404/1.412, allocations: 0.8699 MB / 0.9012 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001296/1.414, allocations: 307.2 kB / 0.9015 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.424, allocations: 2.577 MB / 0.904 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/1.424, allocations: 18.08 kB / 0.9041 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.424, allocations: 0 / 0.9041 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007616/1.432, allocations: 2.255 MB / 0.9063 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/1.45, allocations: 4.887 MB / 0.911 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/1.45, allocations: 3.406 kB / 0.911 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/1.452, allocations: 166.2 kB / 0.9112 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/1.455, allocations: 0.5425 MB / 0.9117 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003654/1.455, allocations: 31.91 kB / 0.9118 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/1.459, allocations: 2.087 MB / 0.9138 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.459, allocations: 3.953 kB / 0.9138 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/1.471, allocations: 3.512 MB / 0.9172 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002846/1.474, allocations: 0.572 MB / 0.9178 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001427/1.475, allocations: 33.47 kB / 0.9178 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004822/1.48, allocations: 206.8 kB / 0.918 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005163/1.481, allocations: 72.73 kB / 0.9181 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002173/1.481, allocations: 47.94 kB / 0.9181 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.006942/1.488, allocations: 2.134 MB / 0.9202 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.002e-06/1.488, allocations: 0 / 0.9202 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01068/1.499, allocations: 1.579 MB / 0.9218 GB, free: 5.152 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (pump.vol.dynBal.U,hea.outCon.T,val.res1.filter.x[1],val.res1.filter.x[2],val.res3.filter.x[1],val.res3.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.01446/1.513, allocations: 4.351 MB / 0.926 GB, free: 1.77 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.526, allocations: 3.574 MB / 0.9295 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.526, allocations: 0 / 0.9295 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003557/1.53, allocations: 0.8528 MB / 0.9303 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01559/1.545, allocations: 1.589 MB / 0.9319 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03013/1.576, allocations: 18.8 MB / 0.9502 GB, free: 10.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004211/1.58, allocations: 2.165 MB / 0.9523 GB, free: 8.199 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005977/1.586, allocations: 0.704 MB / 0.953 GB, free: 7.488 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003793/1.59, allocations: 1.239 MB / 0.9542 GB, free: 6.547 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/1.59, allocations: 0 / 0.9542 GB, free: 6.547 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2422/1.832, allocations: 87.53 MB / 1.04 GB, free: 264 kB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003972/1.832, allocations: 261.3 kB / 1.04 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.497/8.33, allocations: 0 / 1.04 GB, free: 15.92 MB / 0.7917 GB