Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",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.0098/0.0098, allocations: 89.03 kB / 15.04 MB, free: 6.055 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.001224/0.001224, allocations: 171.8 kB / 15.92 MB, free: 5.992 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.181/2.181, 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.412/2.412, allocations: 252.8 MB / 0.511 GB, free: 8.363 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005246/0.0005247, allocations: 12.41 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2268, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02833/0.2552, allocations: 17.5 MB / 0.7451 GB, free: 8.641 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.266, allocations: 4.626 MB / 0.7497 GB, free: 4.004 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008768/0.2669, allocations: 23.81 kB / 0.7497 GB, free: 3.98 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.2683, allocations: 298.6 kB / 0.75 GB, free: 3.688 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.2717, allocations: 0.8101 MB / 0.7508 GB, free: 2.875 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.2757, allocations: 0.8497 MB / 0.7516 GB, free: 2.023 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002677/0.2784, allocations: 1.024 MB / 0.7526 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009737/0.2794, allocations: 403.1 kB / 0.753 GB, free: 0.5859 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.2809, allocations: 0.5217 MB / 0.7535 GB, free: 64 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007826/0.2818, allocations: 334.6 kB / 0.7538 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.2819, allocations: 20 kB / 0.7538 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.2844, allocations: 0.8385 MB / 0.7546 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.2846, allocations: 107.6 kB / 0.7547 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.2849, allocations: 141.3 kB / 0.7549 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.2866, allocations: 0.7759 MB / 0.7556 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2866, allocations: 0 / 0.7556 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2866, allocations: 0 / 0.7556 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.2866, allocations: 0 / 0.7556 GB, free: 13.85 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002218/0.2888, allocations: 0.913 MB / 0.7565 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.2889, allocations: 8.031 kB / 0.7565 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/0.289, allocations: 82.47 kB / 0.7566 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.2905, allocations: 191 kB / 0.7568 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.2917, allocations: 0.5026 MB / 0.7573 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006121/0.2923, allocations: 92.94 kB / 0.7574 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.2925, allocations: 43.94 kB / 0.7574 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.2941, allocations: 0.4921 MB / 0.7579 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.2941, allocations: 0 / 0.7579 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/0.2942, allocations: 19.98 kB / 0.7579 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.2942, allocations: 8 kB / 0.7579 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.2961, allocations: 422.6 kB / 0.7583 GB, free: 10.96 MB / 0.5886 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.004808/0.3009, allocations: 2.313 MB / 0.7606 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.3028, allocations: 402.9 kB / 0.761 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003848/0.3032, allocations: 340.6 kB / 0.7613 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.3042, allocations: 311.5 kB / 0.7616 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 2.766e-06/0.3042, allocations: 0 / 0.7616 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.00388/0.3081, allocations: 0.9601 MB / 0.7625 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.3082, allocations: 85.09 kB / 0.7626 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008908/0.3091, allocations: 495 kB / 0.7631 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/0.3092, allocations: 41.69 kB / 0.7631 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.3095, allocations: 280.4 kB / 0.7634 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.3097, allocations: 106.3 kB / 0.7635 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.3097, allocations: 8 kB / 0.7635 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.3099, allocations: 362.8 kB / 0.7638 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008067/0.3108, allocations: 179.9 kB / 0.764 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009249/0.3117, allocations: 269.2 kB / 0.7643 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008887/0.3126, allocations: 225.5 kB / 0.7645 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3126, allocations: 0 / 0.7645 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002479/0.3151, allocations: 0.6319 MB / 0.7651 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003409/0.3155, allocations: 0.6495 MB / 0.7657 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3155, allocations: 3.938 kB / 0.7657 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/0.316, allocations: 60.81 kB / 0.7658 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/0.3167, allocations: 87.88 kB / 0.7659 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006618/0.3174, allocations: 0.5913 MB / 0.7665 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009306/0.3183, allocations: 87.72 kB / 0.7665 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.3184, allocations: 12 kB / 0.7666 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3184, allocations: 4 kB / 0.7666 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002182/0.3206, allocations: 0.5576 MB / 0.7671 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3207, allocations: 4.062 kB / 0.7671 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002389/0.3209, allocations: 52.77 kB / 0.7672 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.3216, allocations: 88.09 kB / 0.7672 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.3237, allocations: 1.634 MB / 0.7688 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009176/0.3247, allocations: 75.69 kB / 0.7689 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.3248, allocations: 16 kB / 0.7689 GB, free: 15.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004741/0.3252, allocations: 309.8 kB / 0.7692 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.3254, allocations: 55.34 kB / 0.7693 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.3278, allocations: 0.6689 MB / 0.7699 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3278, allocations: 4 kB / 0.7699 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.3278, allocations: 0 / 0.7699 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002252/0.3301, allocations: 0.8286 MB / 0.7707 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.3339, allocations: 1.315 MB / 0.772 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.334, allocations: 0 / 0.772 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006431/0.3346, allocations: 71.92 kB / 0.7721 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.3348, allocations: 44.94 kB / 0.7721 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.3349, allocations: 11.98 kB / 0.7721 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005307/0.3354, allocations: 0.5719 MB / 0.7727 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.3355, allocations: 4.031 kB / 0.7727 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00341/0.3389, allocations: 1.039 MB / 0.7737 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/0.3393, allocations: 188.3 kB / 0.7739 GB, free: 10 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.3395, allocations: 8 kB / 0.7739 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.3405, allocations: 67.84 kB / 0.774 GB, free: 9.926 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3406, allocations: 35.86 kB / 0.774 GB, free: 9.891 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.009e-05/0.3407, allocations: 19.98 kB / 0.774 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006536/0.3414, allocations: 350.8 kB / 0.7744 GB, free: 9.531 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3414, allocations: 0 / 0.7744 GB, free: 9.531 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001602/0.343, allocations: 347.4 kB / 0.7747 GB, free: 9.191 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004629/0.3476, allocations: 1.945 MB / 0.7766 GB, free: 7.195 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003564/0.3512, allocations: 1.006 MB / 0.7776 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3513, allocations: 0 / 0.7776 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.3524, allocations: 326.3 kB / 0.7779 GB, free: 5.824 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.3547, allocations: 237.9 kB / 0.7781 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.3654, allocations: 4.388 MB / 0.7824 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006542/0.3661, allocations: 0.8978 MB / 0.7833 GB, free: 196 kB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009525/0.3671, allocations: 124.2 kB / 0.7834 GB, free: 68 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/0.3676, allocations: 199.4 kB / 0.7836 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of SimCode: time 1.372e-06/0.3676, allocations: 0 / 0.7836 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05626/0.4239, allocations: 16.19 MB / 0.7994 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004575/0.4244, allocations: 273.7 kB / 0.7997 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/3.634, allocations: 7.875 kB / 0.7997 GB, free: 15.56 MB / 0.6355 GB