Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.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.Performance.Example3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example3",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.7432/0.7432, allocations: 127.4 MB / 134.9 MB, free: 3.5 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.001153/0.001153, allocations: 175.1 kB / 164.6 MB, free: 11.63 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.603/1.603, allocations: 205.2 MB / 399.5 MB, free: 13.56 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.0009257/0.0009256, allocations: 99.8 kB / 476.7 MB, free: 1.543 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.32e-05, allocations: 5.438 kB / 0.5467 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1491, allocations: 76.76 MB / 0.6216 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7972/0.9464, allocations: 370.9 MB / 0.9839 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.9468, allocations: 91.66 kB / 0.9839 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.733/3.679, allocations: 0.6895 GB / 1.673 GB, free: 79.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.224e-06/3.679, allocations: 0 / 1.673 GB, free: 79.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002488/3.68, allocations: 50.8 kB / 1.674 GB, free: 79.57 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004251/3.684, allocations: 1.838 MB / 1.675 GB, free: 77.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/3.684, allocations: 8.031 kB / 1.675 GB, free: 77.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/3.686, allocations: 324.4 kB / 1.676 GB, free: 77.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005955/3.692, allocations: 2.652 MB / 1.678 GB, free: 74.74 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/3.692, allocations: 32 kB / 1.678 GB, free: 74.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/3.692, allocations: 67.94 kB / 1.678 GB, free: 74.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001366/3.693, allocations: 0.8395 MB / 1.679 GB, free: 73.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/3.695, allocations: 1.07 MB / 1.68 GB, free: 72.66 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/3.695, allocations: 11.89 kB / 1.68 GB, free: 72.65 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/3.695, allocations: 2.969 kB / 1.68 GB, free: 72.65 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/3.695, allocations: 24 kB / 1.68 GB, free: 72.63 MB / 0.6511 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.00779/3.703, allocations: 6.589 MB / 1.687 GB, free: 65.64 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/3.704, allocations: 0.546 MB / 1.687 GB, free: 65.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/3.704, allocations: 345.1 kB / 1.688 GB, free: 64.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/3.706, allocations: 1.33 MB / 1.689 GB, free: 63.35 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004118/3.707, allocations: 306.2 kB / 1.689 GB, free: 63.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006885/3.707, allocations: 102.8 kB / 1.689 GB, free: 62.94 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 2.946e-06/3.708, allocations: 3.938 kB / 1.689 GB, free: 62.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.004705/3.712, allocations: 1.103 MB / 1.69 GB, free: 61.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/3.712, allocations: 55.41 kB / 1.69 GB, free: 61.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/3.714, allocations: 1.365 MB / 1.692 GB, free: 60.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/3.714, allocations: 25.7 kB / 1.692 GB, free: 60.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/3.715, allocations: 0.869 MB / 1.693 GB, free: 59.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/3.715, allocations: 142 kB / 1.693 GB, free: 59.36 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/3.715, allocations: 1.844 kB / 1.693 GB, free: 59.36 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.05e-05/3.715, allocations: 341.9 kB / 1.693 GB, free: 59.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/3.715, allocations: 281.4 kB / 1.693 GB, free: 58.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004832/3.716, allocations: 0.7078 MB / 1.694 GB, free: 57.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009289/3.717, allocations: 434.1 kB / 1.694 GB, free: 57.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/3.717, allocations: 5.312 kB / 1.694 GB, free: 57.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.004311/3.721, allocations: 1.364 MB / 1.696 GB, free: 56.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008815/3.722, allocations: 4.204 MB / 1.7 GB, free: 51.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/3.722, allocations: 8 kB / 1.7 GB, free: 51.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004338/3.723, allocations: 214.8 kB / 1.7 GB, free: 51.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/3.723, allocations: 175.7 kB / 1.7 GB, free: 51.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009869/3.724, allocations: 0.9505 MB / 1.701 GB, free: 50.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/3.726, allocations: 93.14 kB / 1.701 GB, free: 50.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.089e-05/3.726, allocations: 47.97 kB / 1.701 GB, free: 50.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/3.726, allocations: 8 kB / 1.701 GB, free: 50.06 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001656/3.727, allocations: 0.916 MB / 1.702 GB, free: 49.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/3.727, allocations: 16.08 kB / 1.702 GB, free: 49.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/3.728, allocations: 108.8 kB / 1.702 GB, free: 49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/3.728, allocations: 167.7 kB / 1.702 GB, free: 48.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/3.73, allocations: 2.027 MB / 1.704 GB, free: 46.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/3.731, allocations: 83.75 kB / 1.705 GB, free: 46.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/3.731, allocations: 43.98 kB / 1.705 GB, free: 46.57 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002385/3.731, allocations: 143.2 kB / 1.705 GB, free: 46.43 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003558/3.735, allocations: 0.9707 MB / 1.706 GB, free: 45.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/3.735, allocations: 157.9 kB / 1.706 GB, free: 45.29 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/3.739, allocations: 1.104 MB / 1.707 GB, free: 44.19 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/3.739, allocations: 7.984 kB / 1.707 GB, free: 44.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/3.739, allocations: 0 / 1.707 GB, free: 44.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003142/3.742, allocations: 1.083 MB / 1.708 GB, free: 43.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/3.748, allocations: 2.186 MB / 1.71 GB, free: 40.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/3.748, allocations: 0 / 1.71 GB, free: 40.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/3.748, allocations: 83.88 kB / 1.71 GB, free: 40.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/3.749, allocations: 180.7 kB / 1.71 GB, free: 40.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/3.749, allocations: 15.97 kB / 1.71 GB, free: 40.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006223/3.755, allocations: 3.113 MB / 1.713 GB, free: 37.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/3.755, allocations: 3.984 kB / 1.713 GB, free: 37.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/3.759, allocations: 1.477 MB / 1.715 GB, free: 35.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000824/3.76, allocations: 295 kB / 1.715 GB, free: 35.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/3.76, allocations: 3.953 kB / 1.715 GB, free: 35.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008604/3.761, allocations: 83.81 kB / 1.715 GB, free: 35.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/3.761, allocations: 44.36 kB / 1.715 GB, free: 35.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/3.761, allocations: 23.97 kB / 1.715 GB, free: 35.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001298/3.762, allocations: 1.045 MB / 1.716 GB, free: 34.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/3.762, allocations: 0 / 1.716 GB, free: 34.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002972/3.765, allocations: 0.8891 MB / 1.717 GB, free: 33.42 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.vol.dynBal.U) * 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.005373/3.771, allocations: 2.687 MB / 1.72 GB, free: 30.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002226/3.773, allocations: 1.406 MB / 1.721 GB, free: 29.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/3.773, allocations: 0.75 kB / 1.721 GB, free: 29.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007582/3.774, allocations: 475 kB / 1.722 GB, free: 28.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/3.777, allocations: 0.6227 MB / 1.722 GB, free: 28.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/3.782, allocations: 2.659 MB / 1.725 GB, free: 25.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/3.783, allocations: 1.529 MB / 1.726 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002453/3.785, allocations: 0.8186 MB / 1.727 GB, free: 23.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/3.786, allocations: 0.632 MB / 1.728 GB, free: 22.59 MB / 0.6511 GB Notification: Performance of SimCode: time 7.72e-07/3.786, allocations: 0 / 1.728 GB, free: 22.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4877/4.273, allocations: 48.87 MB / 1.775 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/4.274, allocations: 168.5 kB / 1.776 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.79/8.063, allocations: 2.156 kB / 1.776 GB, free: 103.6 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example3.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)