Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7178/0.7178, allocations: 128.7 MB / 143.7 MB, free: 2.316 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 176.4 kB / 173.7 MB, free: 6.113 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 97.53 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 8.594 kB / 0.5604 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1618, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.332, allocations: 388.9 MB / 1.015 GB, free: 169.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.332, allocations: 90.34 kB / 1.015 GB, free: 169.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.106/6.439, allocations: 1.466 GB / 2.481 GB, free: 32.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.298e-06/6.439, allocations: 0 / 2.481 GB, free: 32.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0009284/6.44, allocations: 155.1 kB / 2.481 GB, free: 32.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 832 * Number of variables: 832 Notification: Performance of Generate backend data structure: time 0.02115/6.461, allocations: 5.896 MB / 2.487 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/6.461, allocations: 8.031 kB / 2.487 GB, free: 26.22 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002471/6.463, allocations: 475.2 kB / 2.487 GB, free: 25.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005591/6.469, allocations: 0.8402 MB / 2.488 GB, free: 24.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01917/6.488, allocations: 7.885 MB / 2.496 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/6.488, allocations: 262.5 kB / 2.496 GB, free: 16.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/6.49, allocations: 344 kB / 2.496 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/6.503, allocations: 5.658 MB / 2.502 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.598e-05/6.503, allocations: 11.88 kB / 2.502 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005511/6.503, allocations: 148 kB / 2.502 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-05/6.503, allocations: 80 kB / 2.502 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/6.514, allocations: 5.324 MB / 2.507 GB, free: 4.898 MB / 0.6823 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.5363/7.051, allocations: 22.41 MB / 2.529 GB, free: 57.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007448/7.058, allocations: 2.994 MB / 2.532 GB, free: 57.03 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/7.071, allocations: 6.427 MB / 2.539 GB, free: 54.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005381/7.077, allocations: 2.144 MB / 2.541 GB, free: 54.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007588/7.084, allocations: 2.022 MB / 2.543 GB, free: 54.83 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=155): time 1.443e-05/7.084, allocations: 3.219 kB / 2.543 GB, free: 54.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155): time 0.03055/7.115, allocations: 7.768 MB / 2.55 GB, free: 54.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/7.115, allocations: 145.6 kB / 2.55 GB, free: 54.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009824/7.125, allocations: 4.347 MB / 2.555 GB, free: 53.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008796/7.126, allocations: 73.67 kB / 2.555 GB, free: 53.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002588/7.129, allocations: 2.484 MB / 2.557 GB, free: 53.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/7.13, allocations: 0.55 MB / 2.558 GB, free: 52.85 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/7.13, allocations: 55.31 kB / 2.558 GB, free: 52.85 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001574/7.13, allocations: 412.2 kB / 2.558 GB, free: 52.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/7.133, allocations: 1.609 MB / 2.56 GB, free: 52.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/7.136, allocations: 2.889 MB / 2.562 GB, free: 50.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/7.14, allocations: 2.054 MB / 2.564 GB, free: 50.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-05/7.14, allocations: 11.22 kB / 2.564 GB, free: 50.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01695/7.157, allocations: 6.331 MB / 2.571 GB, free: 50.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.005924/7.163, allocations: 15.53 MB / 2.586 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.333e-05/7.163, allocations: 34.31 kB / 2.586 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06769/7.23, allocations: 11.67 MB / 2.597 GB, free: 49.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/7.234, allocations: 0.6917 MB / 2.598 GB, free: 49.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/7.245, allocations: 5.226 MB / 2.603 GB, free: 48.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005966/7.251, allocations: 329.5 kB / 2.603 GB, free: 48.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005448/7.252, allocations: 158.3 kB / 2.603 GB, free: 48.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/7.252, allocations: 3.688 kB / 2.603 GB, free: 48.31 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00735/7.259, allocations: 5.045 MB / 2.608 GB, free: 48.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/7.259, allocations: 37.75 kB / 2.608 GB, free: 48.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06533/7.325, allocations: 11.34 MB / 2.619 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003299/7.328, allocations: 0.6839 MB / 2.62 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00994/7.338, allocations: 7.479 MB / 2.627 GB, free: 44.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005836/7.344, allocations: 284.5 kB / 2.628 GB, free: 44.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005935/7.344, allocations: 156.2 kB / 2.628 GB, free: 44.03 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,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.003994/7.348, allocations: 1.55 MB / 2.629 GB, free: 43.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/7.35, allocations: 467.7 kB / 2.63 GB, free: 43.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/7.366, allocations: 5.776 MB / 2.635 GB, free: 43.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/7.366, allocations: 19.44 kB / 2.636 GB, free: 43.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/7.366, allocations: 0 / 2.636 GB, free: 43.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01393/7.38, allocations: 6.181 MB / 2.642 GB, free: 41.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03907/7.419, allocations: 13.68 MB / 2.655 GB, free: 40.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/7.419, allocations: 0 / 2.655 GB, free: 40.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002501/7.422, allocations: 419.4 kB / 2.655 GB, free: 40.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06553/7.487, allocations: 11.85 MB / 2.667 GB, free: 39.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005821/7.488, allocations: 47.67 kB / 2.667 GB, free: 39.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02862/7.516, allocations: 10.61 MB / 2.677 GB, free: 36.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/7.516, allocations: 0 / 2.677 GB, free: 36.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03023/7.547, allocations: 10.32 MB / 2.687 GB, free: 35.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004504/7.551, allocations: 1.064 MB / 2.688 GB, free: 35.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0015/7.553, allocations: 28.66 kB / 2.688 GB, free: 35.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004222/7.557, allocations: 284.1 kB / 2.689 GB, free: 35.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000485/7.557, allocations: 120.3 kB / 2.689 GB, free: 35.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002718/7.558, allocations: 87.64 kB / 2.689 GB, free: 35.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005421/7.563, allocations: 3.37 MB / 2.692 GB, free: 35.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/7.563, allocations: 0 / 2.692 GB, free: 35.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01232/7.575, allocations: 2.767 MB / 2.695 GB, free: 35.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (125): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.03392/7.609, allocations: 12.04 MB / 2.707 GB, free: 33.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02495/7.634, allocations: 7.7 MB / 2.714 GB, free: 33.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/7.635, allocations: 4 kB / 2.714 GB, free: 33.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01015/7.645, allocations: 3.139 MB / 2.717 GB, free: 33.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01359/7.658, allocations: 2.549 MB / 2.72 GB, free: 32.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04907/7.707, allocations: 41.35 MB / 2.76 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006311/7.714, allocations: 3.312 MB / 2.763 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.008551/7.722, allocations: 1.707 MB / 2.765 GB, free: 20.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004465/7.727, allocations: 2.002 MB / 2.767 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/7.727, allocations: 5.5 kB / 2.767 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7128/8.44, allocations: 161.4 MB / 2.925 GB, free: 98.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/8.44, allocations: 262.2 kB / 2.925 GB, free: 98.13 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/15.96, allocations: 0 / 2.925 GB, free: 98.13 MB / 0.7292 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_ResistanceVolumeFlowReversal_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_ResistanceVolumeFlowReversal.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)