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.109/2.109, allocations: 251 MB / 265.9 MB, free: 11.7 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.001561/0.001561, allocations: 165.8 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.331/2.331, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.001163/0.001163, allocations: 102.8 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005204/0.0005203, allocations: 12.94 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2204, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.464, allocations: 413.9 MB / 1.303 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.464, allocations: 91.39 kB / 1.303 GB, free: 4.398 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.656/9.12, allocations: 1.454 GB / 2.757 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.825e-06/9.12, allocations: 3.938 kB / 2.757 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001133/9.121, allocations: 159.8 kB / 2.757 GB, free: 0.9922 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.7423/9.863, allocations: 5.885 MB / 2.763 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/9.863, allocations: 11.88 kB / 2.763 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002477/9.866, allocations: 470.9 kB / 2.764 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007151/9.873, allocations: 0.8069 MB / 2.764 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03069/9.904, allocations: 6.808 MB / 2.771 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006288/9.904, allocations: 263.5 kB / 2.771 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002016/9.906, allocations: 348.5 kB / 2.772 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01963/9.926, allocations: 5.381 MB / 2.777 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002003/9.926, allocations: 11.64 kB / 2.777 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00149/9.928, allocations: 151.6 kB / 2.777 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-05/9.928, allocations: 80.94 kB / 2.777 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/9.944, allocations: 5.068 MB / 2.782 GB, free: 121.4 MB / 0.9011 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.05591/10, allocations: 22.73 MB / 2.804 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008332/10.01, allocations: 2.725 MB / 2.807 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/10.03, allocations: 7.011 MB / 2.814 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005133/10.03, allocations: 1.844 MB / 2.816 GB, free: 109.3 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01193/10.05, allocations: 2.026 MB / 2.818 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=157): time 1.749e-05/10.05, allocations: 0 / 2.818 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=157): time 0.03123/10.08, allocations: 6.624 MB / 2.824 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/10.08, allocations: 148.5 kB / 2.824 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01261/10.09, allocations: 4.554 MB / 2.829 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0008885/10.09, allocations: 68.58 kB / 2.829 GB, free: 108 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003695/10.09, allocations: 2.455 MB / 2.831 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001327/10.1, allocations: 0.5504 MB / 2.832 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004719/10.1, allocations: 51.75 kB / 2.832 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002219/10.1, allocations: 415.5 kB / 2.832 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004373/10.1, allocations: 1.523 MB / 2.834 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005621/10.11, allocations: 2.832 MB / 2.836 GB, free: 105 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005441/10.11, allocations: 1.984 MB / 2.838 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.109e-05/10.11, allocations: 10.59 kB / 2.838 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01703/10.13, allocations: 5.557 MB / 2.844 GB, free: 104.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003455/10.13, allocations: 15.28 MB / 2.859 GB, free: 88.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/10.13, allocations: 31.16 kB / 2.859 GB, free: 88.21 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1371/10.27, allocations: 11.46 MB / 2.87 GB, free: 88.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005484/10.28, allocations: 0.6989 MB / 2.87 GB, free: 88.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/10.29, allocations: 4.724 MB / 2.875 GB, free: 86.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008472/10.3, allocations: 363.3 kB / 2.875 GB, free: 86.56 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/10.3, allocations: 159.9 kB / 2.876 GB, free: 86.56 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/10.3, allocations: 3.344 kB / 2.876 GB, free: 86.56 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01439/10.31, allocations: 5.031 MB / 2.881 GB, free: 86.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/10.31, allocations: 42.88 kB / 2.881 GB, free: 86.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1368/10.45, allocations: 11.38 MB / 2.892 GB, free: 86.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0053/10.46, allocations: 0.6866 MB / 2.892 GB, free: 86.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/10.47, allocations: 7.802 MB / 2.9 GB, free: 82.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007915/10.48, allocations: 344.2 kB / 2.9 GB, free: 82.73 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009667/10.48, allocations: 151.9 kB / 2.9 GB, free: 82.73 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 () * Number of clocked 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.004765/10.49, allocations: 1.549 MB / 2.902 GB, free: 82.52 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/10.49, allocations: 461.6 kB / 2.902 GB, free: 82.28 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/10.5, allocations: 4.584 MB / 2.907 GB, free: 82.07 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.151e-05/10.5, allocations: 22.3 kB / 2.907 GB, free: 82.07 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/10.5, allocations: 4 kB / 2.907 GB, free: 82.07 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02418/10.53, allocations: 6.489 MB / 2.913 GB, free: 80.67 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05344/10.58, allocations: 13.15 MB / 2.926 GB, free: 79.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/10.58, allocations: 0 / 2.926 GB, free: 79.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004509/10.59, allocations: 422.2 kB / 2.926 GB, free: 79.38 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1344/10.72, allocations: 11.65 MB / 2.938 GB, free: 78.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005695/10.72, allocations: 42.34 kB / 2.938 GB, free: 78.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/10.73, allocations: 4.13 MB / 2.942 GB, free: 77.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/10.73, allocations: 4 kB / 2.942 GB, free: 77.01 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03633/10.77, allocations: 9.18 MB / 2.951 GB, free: 76.39 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004857/10.77, allocations: 1.097 MB / 2.952 GB, free: 76.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002252/10.78, allocations: 32.8 kB / 2.952 GB, free: 76.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007608/10.78, allocations: 298.2 kB / 2.952 GB, free: 76.01 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007923/10.78, allocations: 101.9 kB / 2.952 GB, free: 76.01 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004573/10.79, allocations: 82.25 kB / 2.952 GB, free: 76.01 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.009513/10.79, allocations: 3.523 MB / 2.956 GB, free: 75.82 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.934e-06/10.79, allocations: 0 / 2.956 GB, free: 75.82 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01619/10.81, allocations: 2.819 MB / 2.959 GB, free: 75.57 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) * Number of clocked states: 0 () * 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.03982/10.85, allocations: 10.86 MB / 2.969 GB, free: 74.11 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02924/10.88, allocations: 7.365 MB / 2.976 GB, free: 73.56 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/10.88, allocations: 5.828 kB / 2.976 GB, free: 73.56 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01026/10.89, allocations: 2.486 MB / 2.979 GB, free: 73.51 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02277/10.91, allocations: 2.707 MB / 2.982 GB, free: 73.37 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04406/10.96, allocations: 40.52 MB / 3.021 GB, free: 37.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00455/10.96, allocations: 3.309 MB / 3.024 GB, free: 35.34 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01102/10.97, allocations: 1.68 MB / 3.026 GB, free: 34.21 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005669/10.98, allocations: 2.005 MB / 3.028 GB, free: 32.56 MB / 0.9011 GB Notification: Performance of SimCode: time 1.573e-06/10.98, allocations: 0 / 3.028 GB, free: 32.56 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.133/12.11, allocations: 158.4 MB / 3.183 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003126/12.11, allocations: 253.3 kB / 3.183 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.795/20.91, allocations: 3.938 kB / 3.183 GB, free: 121.2 MB / 0.9323 GB