Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal",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.204/2.204, allocations: 248.7 MB / 256.2 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 178.8 kB / 315.4 MB, free: 4.004 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.198/2.198, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 90.03 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.373e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2084, allocations: 106.2 MB / 0.8841 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.013/2.222, allocations: 414.1 MB / 1.288 GB, free: 256 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/2.222, allocations: 85.39 kB / 1.289 GB, free: 256 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.528/9.75, allocations: 1.441 GB / 2.73 GB, free: 119.7 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.954e-06/9.75, allocations: 0 / 2.73 GB, free: 119.7 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001085/9.751, allocations: 153.9 kB / 2.73 GB, free: 119.7 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.01898/9.77, allocations: 4.586 MB / 2.734 GB, free: 117.9 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/9.77, allocations: 7.469 kB / 2.734 GB, free: 117.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007512/9.778, allocations: 0.8049 MB / 2.735 GB, free: 117.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02831/9.806, allocations: 6.762 MB / 2.742 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/9.807, allocations: 105.7 kB / 2.742 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/9.808, allocations: 208.6 kB / 2.742 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01377/9.822, allocations: 4.734 MB / 2.747 GB, free: 116.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/9.838, allocations: 4.813 MB / 2.751 GB, free: 116 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001406/9.838, allocations: 11.09 kB / 2.751 GB, free: 116 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009923/9.839, allocations: 7.062 kB / 2.751 GB, free: 116 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.549e-05/9.839, allocations: 82.94 kB / 2.751 GB, free: 116 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.05445/9.894, allocations: 22.08 MB / 2.773 GB, free: 106.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006857/9.901, allocations: 2.642 MB / 2.775 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003827/9.905, allocations: 1.7 MB / 2.777 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02156/9.926, allocations: 6.9 MB / 2.784 GB, free: 103.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004245/9.931, allocations: 1.731 MB / 2.786 GB, free: 103.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01098/9.942, allocations: 1.954 MB / 2.787 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=157): time 1.928e-05/9.942, allocations: 2.438 kB / 2.787 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=157): time 0.04283/9.985, allocations: 6.214 MB / 2.794 GB, free: 103.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/9.985, allocations: 154.4 kB / 2.794 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/9.995, allocations: 3.967 MB / 2.798 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0007987/9.996, allocations: 32.36 kB / 2.798 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003477/9.999, allocations: 2.437 MB / 2.8 GB, free: 102 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001214/10, allocations: 0.5372 MB / 2.8 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/10, allocations: 0 / 2.8 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002039/10, allocations: 412.8 kB / 2.801 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0033/10, allocations: 1.451 MB / 2.802 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004512/10.01, allocations: 2.727 MB / 2.805 GB, free: 99.77 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/10.02, allocations: 2.51 MB / 2.807 GB, free: 99.73 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.222e-05/10.02, allocations: 9.906 kB / 2.807 GB, free: 99.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.0696/10.09, allocations: 8.403 MB / 2.816 GB, free: 99.37 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003429/10.09, allocations: 15.03 MB / 2.83 GB, free: 83.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001683/10.09, allocations: 34.88 kB / 2.83 GB, free: 83.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06736/10.16, allocations: 6.2 MB / 2.836 GB, free: 83.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005564/10.17, allocations: 0.706 MB / 2.837 GB, free: 83.56 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/10.19, allocations: 5.524 MB / 2.842 GB, free: 81.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008199/10.2, allocations: 309 kB / 2.843 GB, free: 81.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/10.2, allocations: 157.5 kB / 2.843 GB, free: 81.88 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/10.2, allocations: 3.938 kB / 2.843 GB, free: 81.88 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06658/10.26, allocations: 7.694 MB / 2.85 GB, free: 80.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/10.26, allocations: 38.03 kB / 2.85 GB, free: 80.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06751/10.33, allocations: 6.14 MB / 2.856 GB, free: 80.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005302/10.34, allocations: 0.6884 MB / 2.857 GB, free: 80.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02391/10.36, allocations: 8.246 MB / 2.865 GB, free: 75.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0075/10.37, allocations: 288.9 kB / 2.865 GB, free: 75.33 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009848/10.37, allocations: 151.8 kB / 2.866 GB, free: 75.31 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001161/10.37, allocations: 209.7 kB / 2.866 GB, free: 75.13 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04101/10.41, allocations: 6.034 MB / 2.872 GB, free: 73.24 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002114/10.41, allocations: 431.2 kB / 2.872 GB, free: 73.01 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02823/10.44, allocations: 5.71 MB / 2.878 GB, free: 69.06 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-05/10.44, allocations: 19.98 kB / 2.878 GB, free: 69.04 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/10.44, allocations: 4 kB / 2.878 GB, free: 69.04 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02919/10.47, allocations: 6.857 MB / 2.884 GB, free: 61.95 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05898/10.53, allocations: 13.1 MB / 2.897 GB, free: 48.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/10.53, allocations: 4 kB / 2.897 GB, free: 48.79 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004546/10.53, allocations: 419.5 kB / 2.898 GB, free: 48.38 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008343/10.54, allocations: 2.443 MB / 2.9 GB, free: 45.95 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005363/10.54, allocations: 37.91 kB / 2.9 GB, free: 45.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/10.56, allocations: 4.8 MB / 2.905 GB, free: 41.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/10.56, allocations: 4.125 kB / 2.905 GB, free: 41.04 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0487/10.61, allocations: 9.996 MB / 2.915 GB, free: 31 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005065/10.61, allocations: 1.077 MB / 2.916 GB, free: 29.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001943/10.62, allocations: 3.953 kB / 2.916 GB, free: 29.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007371/10.62, allocations: 267.2 kB / 2.916 GB, free: 29.63 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007124/10.62, allocations: 105.2 kB / 2.916 GB, free: 29.53 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004954/10.62, allocations: 83.92 kB / 2.916 GB, free: 29.45 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.007415/10.63, allocations: 2.978 MB / 2.919 GB, free: 26.48 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.02e-07/10.63, allocations: 4 kB / 2.919 GB, free: 26.47 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0158/10.65, allocations: 2.739 MB / 2.922 GB, free: 23.73 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 120 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.05166/10.7, allocations: 11.63 MB / 2.933 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02581/10.73, allocations: 7.105 MB / 2.94 GB, free: 5.039 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/10.73, allocations: 6.766 kB / 2.94 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.009374/10.73, allocations: 2.378 MB / 2.942 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02074/10.76, allocations: 2.399 MB / 2.945 GB, free: 316 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03229/10.79, allocations: 8.828 MB / 2.953 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005785/10.79, allocations: 3.317 MB / 2.956 GB, free: 4.078 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01785/10.81, allocations: 2.793 MB / 2.959 GB, free: 1.363 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7076/11.52, allocations: 1.902 MB / 2.961 GB, free: 132.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.863e-06/11.52, allocations: 0 / 2.961 GB, free: 132.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3581/11.88, allocations: 145.8 MB / 3.103 GB, free: 126.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/11.88, allocations: 178.2 kB / 3.104 GB, free: 126.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.098/20.98, allocations: 0 / 3.104 GB, free: 126.2 MB / 0.9167 GB