Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.301/2.301, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001557, allocations: 186.7 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.314/2.314, allocations: 205.4 MB / 0.5764 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001195, allocations: 100.6 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006683/0.0006682, allocations: 12.06 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.213, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.64/7.853, allocations: 2.431 GB / 3.33 GB, free: 89.87 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/7.854, allocations: 89.7 kB / 3.33 GB, free: 89.82 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.538/11.39, allocations: 0.6338 GB / 3.964 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.426e-06/11.39, allocations: 7.938 kB / 3.964 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001743/11.39, allocations: 31.98 kB / 3.964 GB, free: 153.6 MB / 0.8855 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.007101/11.4, allocations: 1.575 MB / 3.965 GB, free: 152 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/11.4, allocations: 8.562 kB / 3.965 GB, free: 152 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000464/11.4, allocations: 119.7 kB / 3.965 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/11.4, allocations: 0.541 MB / 3.966 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04066/11.44, allocations: 12.81 MB / 3.978 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002322/11.45, allocations: 309.2 kB / 3.979 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003949/11.45, allocations: 76 kB / 3.979 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004393/11.45, allocations: 1.163 MB / 3.98 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/11.45, allocations: 7.938 kB / 3.98 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/11.45, allocations: 30.52 kB / 3.98 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-05/11.45, allocations: 33.3 kB / 3.98 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005931/11.46, allocations: 1.227 MB / 3.981 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/11.47, allocations: 3.358 MB / 3.984 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/11.47, allocations: 0.7069 MB / 3.985 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/11.47, allocations: 1.033 MB / 3.986 GB, free: 130 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/11.48, allocations: 0.5308 MB / 3.987 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 4.338e-06/11.48, allocations: 3.938 kB / 3.987 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.005686/11.48, allocations: 1.351 MB / 3.988 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/11.48, allocations: 166.5 kB / 3.988 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/11.48, allocations: 1.08 MB / 3.989 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002879/11.48, allocations: 45.7 kB / 3.989 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004464/11.49, allocations: 437.8 kB / 3.99 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/11.49, allocations: 197.2 kB / 3.99 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/11.49, allocations: 16 kB / 3.99 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/11.49, allocations: 326 kB / 3.99 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002568/11.49, allocations: 492.9 kB / 3.991 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002715/11.49, allocations: 0.6787 MB / 3.991 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/11.49, allocations: 0.558 MB / 3.992 GB, free: 124 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/11.49, allocations: 0 / 3.992 GB, free: 124 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.005936/11.5, allocations: 1.307 MB / 3.993 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/11.5, allocations: 41.09 kB / 3.993 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/11.5, allocations: 4.109 kB / 3.993 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/11.5, allocations: 12 kB / 3.993 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/11.5, allocations: 215.7 kB / 3.993 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/11.5, allocations: 11.94 kB / 3.993 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/11.51, allocations: 306.9 kB / 3.994 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/11.51, allocations: 47.97 kB / 3.994 GB, free: 122 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (69): * Single equations (assignments): 68 * 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.0009261/11.51, allocations: 336.7 kB / 3.994 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004065/11.51, allocations: 118.6 kB / 3.994 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/11.51, allocations: 1.034 MB / 3.995 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/11.51, allocations: 11.95 kB / 3.995 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/11.51, allocations: 4 kB / 3.995 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/11.51, allocations: 7.984 kB / 3.995 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008413/11.52, allocations: 3.351 MB / 3.998 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/11.52, allocations: 8 kB / 3.998 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/11.52, allocations: 131.8 kB / 3.999 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/11.52, allocations: 12.16 kB / 3.999 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/11.52, allocations: 27.98 kB / 3.999 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.514e-05/11.52, allocations: 15.94 kB / 3.999 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/11.52, allocations: 8 kB / 3.999 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003871/11.52, allocations: 1.82 MB / 4 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/11.53, allocations: 339.3 kB / 4.001 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/11.53, allocations: 28 kB / 4.001 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/11.53, allocations: 127.9 kB / 4.001 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/11.53, allocations: 59.78 kB / 4.001 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/11.53, allocations: 43.97 kB / 4.001 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002725/11.53, allocations: 0.8753 MB / 4.002 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.42e-07/11.53, allocations: 0 / 4.002 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002738/11.53, allocations: 447.6 kB / 4.002 GB, free: 112.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (58): * Single equations (assignments): 53 * 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.007662/11.54, allocations: 6.058 MB / 4.008 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004785/11.55, allocations: 1.064 MB / 4.009 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/11.55, allocations: 0 / 4.009 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/11.55, allocations: 0.5285 MB / 4.01 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005015/11.55, allocations: 0.532 MB / 4.01 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/11.58, allocations: 9.035 MB / 4.019 GB, free: 94.83 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007207/11.58, allocations: 1.085 MB / 4.02 GB, free: 93.71 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00209/11.58, allocations: 287.9 kB / 4.02 GB, free: 93.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008127/11.58, allocations: 367.3 kB / 4.021 GB, free: 93.07 MB / 0.8855 GB Notification: Performance of SimCode: time 1.382e-06/11.58, allocations: 0 / 4.021 GB, free: 93.07 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/11.7, allocations: 51.73 MB / 4.071 GB, free: 41.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/11.7, allocations: 240.9 kB / 4.071 GB, free: 41.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.748/16.45, allocations: 0 / 4.071 GB, free: 41.32 MB / 0.8855 GB