Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01391/0.01391, allocations: 113.6 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001332/0.001332, allocations: 183.8 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.119/2.119, allocations: 194.6 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.309/2.309, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006572/0.0006575, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7153, allocations: 98.71 MB / 0.6834 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3174/1.033, allocations: 161.8 MB / 0.8415 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0235/1.056, allocations: 6.334 MB / 0.8477 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/1.059, allocations: 35.69 kB / 0.8477 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004894/1.063, allocations: 0.6766 MB / 0.8484 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/1.075, allocations: 1.749 MB / 0.8501 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01082/1.086, allocations: 1.462 MB / 0.8515 GB, free: 1.895 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006972/1.093, allocations: 1.796 MB / 0.8533 GB, free: 92 kB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/1.096, allocations: 0.7131 MB / 0.854 GB, free: 15.37 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004229/1.1, allocations: 0.8955 MB / 0.8548 GB, free: 14.47 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/1.102, allocations: 0.6147 MB / 0.8554 GB, free: 13.85 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.0002987/1.103, allocations: 44 kB / 0.8555 GB, free: 13.81 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006715/1.109, allocations: 1.166 MB / 0.8566 GB, free: 12.64 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0008675/1.11, allocations: 279.1 kB / 0.8569 GB, free: 12.37 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.0007139/1.111, allocations: 237.1 kB / 0.8571 GB, free: 12.13 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.004931/1.116, allocations: 1.553 MB / 0.8586 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.116, allocations: 0 / 0.8586 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.746e-06/1.116, allocations: 0 / 0.8586 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 2.595e-05/1.116, allocations: 0 / 0.8586 GB, free: 10.57 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.008557/1.125, allocations: 1.399 MB / 0.86 GB, free: 9.117 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/1.125, allocations: 12.03 kB / 0.86 GB, free: 9.105 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005447/1.125, allocations: 114.5 kB / 0.8601 GB, free: 8.984 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007035/1.132, allocations: 0.6034 MB / 0.8607 GB, free: 8.379 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/1.136, allocations: 0.9185 MB / 0.8616 GB, free: 7.422 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002403/1.138, allocations: 317 kB / 0.8619 GB, free: 7.109 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/1.138, allocations: 64 kB / 0.862 GB, free: 7.047 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00482/1.143, allocations: 1.16 MB / 0.8631 GB, free: 5.867 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/1.143, allocations: 0 / 0.8631 GB, free: 5.867 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/1.144, allocations: 27.95 kB / 0.8631 GB, free: 5.84 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.451e-05/1.144, allocations: 29.31 kB / 0.8631 GB, free: 5.812 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008209/1.152, allocations: 1.333 MB / 0.8644 GB, free: 4.48 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/1.163, allocations: 3.064 MB / 0.8674 GB, free: 1.324 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/1.166, allocations: 0.719 MB / 0.8681 GB, free: 0.6016 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007558/1.167, allocations: 0.677 MB / 0.8688 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00189/1.169, allocations: 0.5096 MB / 0.8693 GB, free: 15.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=55): time 3.757e-06/1.169, allocations: 0 / 0.8693 GB, free: 15.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=55): time 0.005395/1.174, allocations: 1.266 MB / 0.8705 GB, free: 13.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.175, allocations: 111.2 kB / 0.8706 GB, free: 13.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/1.178, allocations: 1.231 MB / 0.8718 GB, free: 12.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002089/1.178, allocations: 49.64 kB / 0.8719 GB, free: 12.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005633/1.179, allocations: 437.2 kB / 0.8723 GB, free: 12.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/1.179, allocations: 185.3 kB / 0.8725 GB, free: 11.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.649e-05/1.179, allocations: 12 kB / 0.8725 GB, free: 11.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.18, allocations: 326 kB / 0.8728 GB, free: 11.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002658/1.182, allocations: 492.9 kB / 0.8733 GB, free: 11.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/1.185, allocations: 0.6273 MB / 0.8739 GB, free: 10.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/1.188, allocations: 0.5387 MB / 0.8744 GB, free: 9.863 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/1.188, allocations: 4 kB / 0.8744 GB, free: 9.859 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00645/1.194, allocations: 1.257 MB / 0.8756 GB, free: 8.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.186e-05/1.194, allocations: 37.69 kB / 0.8757 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/1.194, allocations: 4 kB / 0.8757 GB, free: 8.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/1.195, allocations: 11.95 kB / 0.8757 GB, free: 8.531 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/1.197, allocations: 211.9 kB / 0.8759 GB, free: 8.324 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/1.197, allocations: 11.94 kB / 0.8759 GB, free: 8.312 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/1.2, allocations: 306.9 kB / 0.8762 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/1.2, allocations: 31.98 kB / 0.8762 GB, free: 7.98 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (68): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008282/1.201, allocations: 329.5 kB / 0.8765 GB, free: 7.645 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/1.201, allocations: 118.6 kB / 0.8767 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003883/1.205, allocations: 0.9914 MB / 0.8776 GB, free: 6.516 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/1.205, allocations: 4 kB / 0.8776 GB, free: 6.512 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/1.205, allocations: 4 kB / 0.8776 GB, free: 6.508 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/1.205, allocations: 3.984 kB / 0.8776 GB, free: 6.504 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008654/1.214, allocations: 2.938 MB / 0.8805 GB, free: 3.418 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.214, allocations: 8 kB / 0.8805 GB, free: 3.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/1.215, allocations: 127.9 kB / 0.8806 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.499e-05/1.215, allocations: 12 kB / 0.8806 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.262e-05/1.215, allocations: 23.98 kB / 0.8807 GB, free: 3.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-05/1.215, allocations: 15.94 kB / 0.8807 GB, free: 3.234 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/1.215, allocations: 11.94 kB / 0.8807 GB, free: 3.223 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/1.219, allocations: 1.58 MB / 0.8822 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008949/1.22, allocations: 331.4 kB / 0.8826 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/1.221, allocations: 20 kB / 0.8826 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002745/1.223, allocations: 127.9 kB / 0.8827 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003509/1.224, allocations: 59.72 kB / 0.8828 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/1.224, allocations: 39.97 kB / 0.8828 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003152/1.227, allocations: 0.8914 MB / 0.8837 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.81e-07/1.227, allocations: 0 / 0.8837 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001797/1.229, allocations: 299.8 kB / 0.8839 GB, free: 15.61 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * 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 (53): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007465/1.237, allocations: 4.28 MB / 0.8881 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005097/1.242, allocations: 1.056 MB / 0.8892 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/1.242, allocations: 4 kB / 0.8892 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/1.244, allocations: 0.5204 MB / 0.8897 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004882/1.249, allocations: 0.5328 MB / 0.8902 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02631/1.275, allocations: 8.704 MB / 0.8987 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009434/1.276, allocations: 1.088 MB / 0.8998 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00209/1.278, allocations: 268.2 kB / 0.9 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009399/1.279, allocations: 367.2 kB / 0.9004 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of SimCode: time 1.363e-06/1.279, allocations: 0 / 0.9004 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6423/1.921, allocations: 31.03 MB / 0.9307 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/1.922, allocations: 251.6 kB / 0.9309 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.973/5.895, allocations: 0 / 0.9309 GB, free: 207.7 MB / 0.7292 GB