Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example2",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.7984/0.7984, allocations: 128.7 MB / 143.7 MB, free: 2.336 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.001284/0.001284, allocations: 172.5 kB / 173.7 MB, free: 6.129 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.83/1.83, allocations: 205.4 MB / 409 MB, free: 10.51 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.001051/0.001051, allocations: 97.22 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 9.125 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1634, allocations: 76.78 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.341, allocations: 371.7 MB / 0.9984 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.341, allocations: 100.4 kB / 0.9985 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.302/2.643, allocations: 485.3 MB / 1.472 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.956e-06/2.643, allocations: 0 / 1.472 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002178/2.644, allocations: 40.17 kB / 1.473 GB, free: 9.844 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.006057/2.65, allocations: 1.958 MB / 1.474 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/2.65, allocations: 12.03 kB / 1.474 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000299/2.65, allocations: 122.6 kB / 1.475 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/2.652, allocations: 277.9 kB / 1.475 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/2.656, allocations: 2.083 MB / 1.477 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/2.656, allocations: 69.97 kB / 1.477 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/2.656, allocations: 92 kB / 1.477 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/2.659, allocations: 1.097 MB / 1.478 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/2.659, allocations: 3.938 kB / 1.478 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.014e-05/2.66, allocations: 32 kB / 1.478 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/2.66, allocations: 20 kB / 1.478 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/2.662, allocations: 0.8546 MB / 1.479 GB, free: 3.062 MB / 0.6511 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.4138/3.076, allocations: 4.624 MB / 1.483 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/3.079, allocations: 0.7156 MB / 1.484 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002819/3.082, allocations: 1.608 MB / 1.486 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00185/3.084, allocations: 481.5 kB / 1.486 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006953/3.084, allocations: 113.5 kB / 1.486 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 3.817e-06/3.084, allocations: 2.297 kB / 1.486 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.00808/3.092, allocations: 1.573 MB / 1.488 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/3.092, allocations: 61.45 kB / 1.488 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/3.094, allocations: 1.115 MB / 1.489 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/3.094, allocations: 39.55 kB / 1.489 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005887/3.095, allocations: 0.651 MB / 1.49 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/3.095, allocations: 152 kB / 1.49 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/3.095, allocations: 12.84 kB / 1.49 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/3.095, allocations: 332.7 kB / 1.49 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/3.096, allocations: 281.2 kB / 1.49 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009324/3.097, allocations: 0.6124 MB / 1.491 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/3.098, allocations: 386.6 kB / 1.491 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/3.098, allocations: 1.688 kB / 1.491 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.005144/3.103, allocations: 1.295 MB / 1.493 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008057/3.104, allocations: 3.142 MB / 1.496 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/3.104, allocations: 7.844 kB / 1.496 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009332/3.105, allocations: 243.3 kB / 1.496 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/3.106, allocations: 146.6 kB / 1.496 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/3.109, allocations: 0.9922 MB / 1.497 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/3.11, allocations: 90.61 kB / 1.497 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/3.11, allocations: 45 kB / 1.497 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/3.11, allocations: 6.562 kB / 1.497 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001815/3.112, allocations: 0.903 MB / 1.498 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/3.112, allocations: 8.375 kB / 1.498 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/3.112, allocations: 112.9 kB / 1.498 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/3.113, allocations: 136.7 kB / 1.498 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/3.115, allocations: 2.187 MB / 1.5 GB, free: 114 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/3.116, allocations: 72.67 kB / 1.501 GB, free: 114 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/3.116, allocations: 37.44 kB / 1.501 GB, free: 114 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.001047/3.117, allocations: 485 kB / 1.501 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/3.117, allocations: 132.6 kB / 1.501 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004683/3.122, allocations: 1.144 MB / 1.502 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/3.122, allocations: 6.219 kB / 1.502 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/3.122, allocations: 7.609 kB / 1.502 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004204/3.126, allocations: 1.13 MB / 1.503 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007073/3.133, allocations: 2.074 MB / 1.505 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/3.133, allocations: 1.938 kB / 1.505 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/3.134, allocations: 78.38 kB / 1.505 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007294/3.134, allocations: 227.4 kB / 1.506 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/3.134, allocations: 18.81 kB / 1.506 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/3.145, allocations: 3.542 MB / 1.509 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/3.146, allocations: 0 / 1.509 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006383/3.152, allocations: 1.49 MB / 1.511 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/3.153, allocations: 268.5 kB / 1.511 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/3.154, allocations: 17.17 kB / 1.511 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009359/3.154, allocations: 73.41 kB / 1.511 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/3.155, allocations: 51.89 kB / 1.511 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/3.155, allocations: 24.19 kB / 1.511 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002619/3.158, allocations: 0.8879 MB / 1.512 GB, free: 111 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/3.158, allocations: 0 / 1.512 GB, free: 111 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004208/3.162, allocations: 0.751 MB / 1.513 GB, free: 111 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump_dp.vol.dynBal.U) * 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 (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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008303/3.17, allocations: 2.727 MB / 1.515 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004729/3.175, allocations: 1.434 MB / 1.517 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/3.175, allocations: 3.094 kB / 1.517 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002403/3.177, allocations: 0.5802 MB / 1.517 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/3.18, allocations: 0.5518 MB / 1.518 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009355/3.19, allocations: 8.98 MB / 1.527 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/3.191, allocations: 1.299 MB / 1.528 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001742/3.193, allocations: 296.3 kB / 1.528 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007997/3.194, allocations: 0.4983 MB / 1.529 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.443e-06/3.194, allocations: 0 / 1.529 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07325/3.267, allocations: 43.55 MB / 1.571 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/3.267, allocations: 242.9 kB / 1.571 GB, free: 100 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.546/6.813, allocations: 3.75 kB / 1.571 GB, free: 100 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)