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.7574/0.7574, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 184.8 kB / 169.7 MB, free: 1.738 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.499/1.499, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.0008023/0.0008024, allocations: 98.16 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.606e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1355, allocations: 76.75 MB / 0.6282 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.173, allocations: 371.6 MB / 0.9911 GB, free: 162.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/1.173, allocations: 95.94 kB / 0.9912 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.728/3.901, allocations: 0.6934 GB / 1.685 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/3.901, allocations: 0 / 1.685 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003868/3.901, allocations: 54.69 kB / 1.685 GB, free: 133.5 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.005518/3.907, allocations: 1.847 MB / 1.686 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/3.907, allocations: 10.44 kB / 1.686 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005341/3.907, allocations: 145.1 kB / 1.687 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/3.909, allocations: 333.4 kB / 1.687 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008586/3.918, allocations: 2.65 MB / 1.69 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/3.918, allocations: 81.94 kB / 1.69 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004226/3.919, allocations: 106.1 kB / 1.69 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003882/3.923, allocations: 1.333 MB / 1.691 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/3.923, allocations: 5.25 kB / 1.691 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/3.923, allocations: 41.8 kB / 1.691 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/3.923, allocations: 25.12 kB / 1.691 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002782/3.926, allocations: 1.011 MB / 1.692 GB, free: 131.9 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.009368/3.935, allocations: 6.644 MB / 1.699 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/3.937, allocations: 0.6628 MB / 1.699 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/3.938, allocations: 348.2 kB / 1.7 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003212/3.941, allocations: 1.55 MB / 1.701 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001495/3.942, allocations: 461 kB / 1.701 GB, free: 127 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00116/3.943, allocations: 134.5 kB / 1.702 GB, free: 127 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 7.575e-06/3.943, allocations: 0 / 1.702 GB, free: 127 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.005711/3.949, allocations: 1.178 MB / 1.703 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/3.949, allocations: 58.72 kB / 1.703 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003227/3.953, allocations: 1.545 MB / 1.704 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/3.953, allocations: 41.92 kB / 1.704 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009192/3.954, allocations: 0.8747 MB / 1.705 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/3.954, allocations: 153.7 kB / 1.705 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/3.954, allocations: 14.09 kB / 1.705 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/3.954, allocations: 338.6 kB / 1.706 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/3.954, allocations: 280.8 kB / 1.706 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/3.955, allocations: 0.7151 MB / 1.707 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006931/3.956, allocations: 413.6 kB / 1.707 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/3.956, allocations: 2.656 kB / 1.707 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.004574/3.961, allocations: 1.379 MB / 1.708 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001127/3.962, allocations: 4.232 MB / 1.713 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/3.962, allocations: 18.58 kB / 1.713 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/3.962, allocations: 206 kB / 1.713 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/3.963, allocations: 171.1 kB / 1.713 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/3.964, allocations: 0.9144 MB / 1.714 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/3.966, allocations: 119.3 kB / 1.714 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/3.966, allocations: 51.64 kB / 1.714 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/3.966, allocations: 3.844 kB / 1.714 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001654/3.968, allocations: 1.004 MB / 1.715 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/3.968, allocations: 14.67 kB / 1.715 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/3.968, allocations: 117.8 kB / 1.715 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/3.969, allocations: 161.6 kB / 1.715 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/3.971, allocations: 2.117 MB / 1.717 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/3.972, allocations: 94.84 kB / 1.717 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/3.972, allocations: 47.31 kB / 1.717 GB, free: 118.6 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.0003106/3.972, allocations: 166.6 kB / 1.718 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004915/3.973, allocations: 171.7 kB / 1.718 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004113/3.977, allocations: 1.165 MB / 1.719 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/3.977, allocations: 9.062 kB / 1.719 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/3.977, allocations: 0 / 1.719 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003167/3.98, allocations: 1.1 MB / 1.72 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006586/3.987, allocations: 2.313 MB / 1.722 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/3.987, allocations: 0 / 1.722 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/3.987, allocations: 85.52 kB / 1.722 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/3.988, allocations: 198.6 kB / 1.723 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/3.988, allocations: 18.86 kB / 1.723 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00685/3.995, allocations: 3.22 MB / 1.726 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/3.995, allocations: 2.062 kB / 1.726 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004378/3.999, allocations: 1.513 MB / 1.727 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/4, allocations: 318.1 kB / 1.727 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005615/4.001, allocations: 10.28 kB / 1.727 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/4.002, allocations: 86.3 kB / 1.728 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/4.002, allocations: 52.25 kB / 1.728 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/4.003, allocations: 23.56 kB / 1.728 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002333/4.005, allocations: 1.227 MB / 1.729 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/4.005, allocations: 0 / 1.729 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004031/4.009, allocations: 0.8971 MB / 1.73 GB, free: 115.4 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.006179/4.015, allocations: 2.752 MB / 1.732 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002755/4.018, allocations: 1.466 MB / 1.734 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/4.018, allocations: 0 / 1.734 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000893/4.019, allocations: 496.2 kB / 1.734 GB, free: 114 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/4.023, allocations: 0.7299 MB / 1.735 GB, free: 114 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007229/4.03, allocations: 2.724 MB / 1.738 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/4.031, allocations: 1.534 MB / 1.739 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003444/4.035, allocations: 0.8952 MB / 1.74 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/4.036, allocations: 0.6397 MB / 1.741 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of SimCode: time 2.204e-06/4.036, allocations: 0 / 1.741 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09577/4.132, allocations: 58.38 MB / 1.798 GB, free: 79.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/4.132, allocations: 222.3 kB / 1.798 GB, free: 79.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.88/8.012, allocations: 0 / 1.798 GB, free: 79.7 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)