Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.6 MB / 307.5 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 181 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.4 MB / 0.6366 GB, free: 9.598 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000889/0.0008891, allocations: 93.34 kB / 0.7509 GB, free: 62.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005263/0.0005263, allocations: 8 kB / 0.8748 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2706, allocations: 116.3 MB / 0.9884 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.678/1.948, allocations: 421.3 MB / 1.4 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/1.949, allocations: 86.94 kB / 1.4 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.901/7.85, allocations: 1.454 GB / 2.854 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.206e-06/7.85, allocations: 0 / 2.854 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00116/7.851, allocations: 150.5 kB / 2.854 GB, free: 120.1 MB / 0.9792 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.02007/7.871, allocations: 5.914 MB / 2.86 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/7.871, allocations: 8.625 kB / 2.86 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001922/7.873, allocations: 474.3 kB / 2.861 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/7.878, allocations: 0.801 MB / 2.861 GB, free: 117.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01668/7.894, allocations: 6.801 MB / 2.868 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/7.895, allocations: 263.6 kB / 2.868 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007877/7.895, allocations: 354.7 kB / 2.869 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008697/7.904, allocations: 5.373 MB / 2.874 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.031e-05/7.904, allocations: 14.03 kB / 2.874 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004472/7.905, allocations: 149 kB / 2.874 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/7.905, allocations: 85.08 kB / 2.874 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007667/7.912, allocations: 5.068 MB / 2.879 GB, free: 116.4 MB / 0.9792 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.03227/7.945, allocations: 22.74 MB / 2.901 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/7.949, allocations: 2.718 MB / 2.904 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/7.961, allocations: 7.014 MB / 2.911 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002557/7.964, allocations: 1.84 MB / 2.913 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006758/7.971, allocations: 2.037 MB / 2.915 GB, free: 104 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=157): time 1.159e-05/7.971, allocations: 0 / 2.915 GB, free: 104 MB / 0.9792 GB Notification: Performance of matching and sorting (n=157): time 0.01601/7.987, allocations: 6.623 MB / 2.921 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/7.987, allocations: 154.7 kB / 2.921 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007148/7.994, allocations: 4.556 MB / 2.926 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0008014/7.995, allocations: 69.77 kB / 2.926 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002406/7.997, allocations: 2.443 MB / 2.928 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009461/7.998, allocations: 0.5605 MB / 2.929 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/7.998, allocations: 55.25 kB / 2.929 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001811/7.998, allocations: 411.6 kB / 2.929 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002424/8.001, allocations: 1.527 MB / 2.931 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/8.004, allocations: 2.829 MB / 2.933 GB, free: 99.83 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/8.007, allocations: 1.989 MB / 2.935 GB, free: 99.77 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-05/8.007, allocations: 9.531 kB / 2.935 GB, free: 99.77 MB / 0.9792 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01187/8.019, allocations: 5.56 MB / 2.941 GB, free: 99.39 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.004869/8.024, allocations: 15.27 MB / 2.956 GB, free: 83.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/8.024, allocations: 36.38 kB / 2.956 GB, free: 83.04 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07295/8.097, allocations: 11.45 MB / 2.967 GB, free: 83.01 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004257/8.101, allocations: 0.6981 MB / 2.967 GB, free: 83.01 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008587/8.11, allocations: 4.735 MB / 2.972 GB, free: 81.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006635/8.117, allocations: 366.9 kB / 2.972 GB, free: 81.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008255/8.118, allocations: 155.9 kB / 2.973 GB, free: 81.38 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/8.118, allocations: 5.5 kB / 2.973 GB, free: 81.38 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009871/8.127, allocations: 5.031 MB / 2.978 GB, free: 81.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/8.128, allocations: 38.55 kB / 2.978 GB, free: 81.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07122/8.199, allocations: 11.38 MB / 2.989 GB, free: 80.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/8.202, allocations: 0.6927 MB / 2.989 GB, free: 80.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/8.213, allocations: 7.793 MB / 2.997 GB, free: 77.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005802/8.219, allocations: 352 kB / 2.997 GB, free: 77.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008024/8.22, allocations: 150.2 kB / 2.997 GB, free: 77.39 MB / 0.9792 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.003929/8.224, allocations: 1.547 MB / 2.999 GB, free: 77.18 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/8.225, allocations: 465.8 kB / 2.999 GB, free: 76.94 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007286/8.233, allocations: 4.592 MB / 3.004 GB, free: 76.72 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/8.233, allocations: 15 kB / 3.004 GB, free: 76.72 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/8.233, allocations: 5.312 kB / 3.004 GB, free: 76.72 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01188/8.245, allocations: 6.489 MB / 3.01 GB, free: 75.34 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03007/8.275, allocations: 13.15 MB / 3.023 GB, free: 74.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/8.275, allocations: 0 / 3.023 GB, free: 74.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/8.277, allocations: 428.3 kB / 3.023 GB, free: 74.03 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06594/8.343, allocations: 11.64 MB / 3.035 GB, free: 73.25 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005486/8.344, allocations: 49.03 kB / 3.035 GB, free: 73.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0056/8.349, allocations: 4.128 MB / 3.039 GB, free: 71.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/8.35, allocations: 9.391 kB / 3.039 GB, free: 71.66 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02082/8.37, allocations: 9.175 MB / 3.048 GB, free: 71.04 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0053/8.376, allocations: 1.104 MB / 3.049 GB, free: 70.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001919/8.378, allocations: 33.25 kB / 3.049 GB, free: 70.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004863/8.383, allocations: 298.5 kB / 3.049 GB, free: 70.65 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/8.383, allocations: 105.1 kB / 3.049 GB, free: 70.65 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003268/8.383, allocations: 78.72 kB / 3.049 GB, free: 70.65 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.006334/8.39, allocations: 3.52 MB / 3.053 GB, free: 70.46 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.21e-07/8.39, allocations: 0 / 3.053 GB, free: 70.46 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01384/8.403, allocations: 2.814 MB / 3.056 GB, free: 70.16 MB / 0.9792 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.02285/8.426, allocations: 10.86 MB / 3.066 GB, free: 68.65 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01653/8.443, allocations: 7.363 MB / 3.073 GB, free: 68.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/8.443, allocations: 8.797 kB / 3.073 GB, free: 68.09 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005368/8.448, allocations: 2.485 MB / 3.076 GB, free: 68.04 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01425/8.463, allocations: 2.713 MB / 3.079 GB, free: 67.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03782/8.501, allocations: 40.52 MB / 3.118 GB, free: 50.18 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004071/8.505, allocations: 3.313 MB / 3.121 GB, free: 49.11 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.008761/8.513, allocations: 1.682 MB / 3.123 GB, free: 48.91 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004708/8.518, allocations: 2.003 MB / 3.125 GB, free: 47.36 MB / 0.9948 GB Notification: Performance of SimCode: time 1.292e-06/8.518, allocations: 0 / 3.125 GB, free: 47.36 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8631/9.381, allocations: 158.4 MB / 3.28 GB, free: 114.9 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/9.382, allocations: 247.7 kB / 3.28 GB, free: 114.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/17.59, allocations: 4.875 kB / 3.28 GB, free: 114.6 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal.fmu > Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)