Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5101/0.5101, allocations: 91.99 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.924/1.924, allocations: 223.2 MB / 354.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 88.3 kB / 427.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003673, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1916, allocations: 72.31 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.888/5.079, allocations: 1.823 GB / 2.392 GB, free: 72.42 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/5.08, allocations: 95.94 kB / 2.392 GB, free: 72.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.692/8.772, allocations: 0.9691 GB / 3.361 GB, free: 23.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/8.772, allocations: 4 kB / 3.361 GB, free: 23.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.91e-05/8.772, allocations: 27.98 kB / 3.361 GB, free: 23.44 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002932/8.775, allocations: 1.421 MB / 3.362 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/8.775, allocations: 12.03 kB / 3.362 GB, free: 21.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/8.775, allocations: 94.52 kB / 3.362 GB, free: 21.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007615/8.776, allocations: 190.5 kB / 3.362 GB, free: 21.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/8.778, allocations: 1.096 MB / 3.364 GB, free: 20.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/8.778, allocations: 41 kB / 3.364 GB, free: 20.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/8.778, allocations: 60 kB / 3.364 GB, free: 20.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009991/8.779, allocations: 0.7654 MB / 3.364 GB, free: 19.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/8.779, allocations: 4 kB / 3.364 GB, free: 19.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/8.779, allocations: 20 kB / 3.364 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/8.779, allocations: 23.95 kB / 3.364 GB, free: 19.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/8.78, allocations: 0.511 MB / 3.365 GB, free: 19 MB / 0.6042 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.003435/8.784, allocations: 4.591 MB / 3.369 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/8.784, allocations: 430.5 kB / 3.37 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/8.784, allocations: 198.1 kB / 3.37 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004118/8.785, allocations: 295.9 kB / 3.37 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/8.785, allocations: 0 / 3.37 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.001205/8.786, allocations: 0.6404 MB / 3.371 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/8.786, allocations: 81.11 kB / 3.371 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/8.787, allocations: 0.9873 MB / 3.372 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/8.787, allocations: 37.7 kB / 3.372 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/8.788, allocations: 496.5 kB / 3.372 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/8.788, allocations: 110.5 kB / 3.373 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/8.788, allocations: 12 kB / 3.373 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/8.788, allocations: 322 kB / 3.373 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/8.788, allocations: 184.7 kB / 3.373 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/8.789, allocations: 0.5046 MB / 3.374 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/8.789, allocations: 285.6 kB / 3.374 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/8.789, allocations: 4 kB / 3.374 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009457/8.79, allocations: 0.6909 MB / 3.375 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005798/8.79, allocations: 2.135 MB / 3.377 GB, free: 6.219 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/8.79, allocations: 4 kB / 3.377 GB, free: 6.215 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/8.791, allocations: 8.281 kB / 3.377 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/8.792, allocations: 291.6 kB / 3.377 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4415/9.234, allocations: 6.077 MB / 3.383 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/9.235, allocations: 101.4 kB / 3.383 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.849e-05/9.235, allocations: 26.38 kB / 3.383 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/9.235, allocations: 4.125 kB / 3.383 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001325/9.236, allocations: 0.5362 MB / 3.383 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/9.236, allocations: 5.656 kB / 3.383 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/9.237, allocations: 12.19 kB / 3.383 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/9.237, allocations: 147.8 kB / 3.384 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/9.237, allocations: 8.828 kB / 3.384 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/9.239, allocations: 104.9 kB / 3.384 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.933e-05/9.239, allocations: 23.88 kB / 3.384 GB, free: 158.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001256/9.24, allocations: 474.6 kB / 3.384 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003277/9.24, allocations: 95.56 kB / 3.384 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/9.242, allocations: 0.4937 MB / 3.385 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/9.242, allocations: 3.781 kB / 3.385 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/9.242, allocations: 3.344 kB / 3.385 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/9.242, allocations: 2.438 kB / 3.385 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/9.245, allocations: 1.397 MB / 3.386 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/9.245, allocations: 3.781 kB / 3.386 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007348/9.246, allocations: 156.5 kB / 3.386 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/9.246, allocations: 3.656 kB / 3.386 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/9.246, allocations: 9.781 kB / 3.386 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/9.248, allocations: 6.024 MB / 3.392 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/9.248, allocations: 4.938 kB / 3.392 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/9.25, allocations: 0.6938 MB / 3.393 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005996/9.25, allocations: 222.1 kB / 3.393 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/9.25, allocations: 15.73 kB / 3.393 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/9.251, allocations: 50.81 kB / 3.393 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/9.251, allocations: 31.25 kB / 3.393 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/9.251, allocations: 12.36 kB / 3.393 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001536/9.253, allocations: 0.7834 MB / 3.394 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.074e-06/9.253, allocations: 0 / 3.394 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002034/9.255, allocations: 488.6 kB / 3.394 GB, free: 151.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003143/9.258, allocations: 2.529 MB / 3.397 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003044/9.261, allocations: 0.9815 MB / 3.398 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/9.261, allocations: 1.469 kB / 3.398 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007912/9.262, allocations: 285.8 kB / 3.398 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/9.264, allocations: 447.3 kB / 3.399 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/9.277, allocations: 9.634 MB / 3.408 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009827/9.278, allocations: 1.203 MB / 3.409 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001617/9.28, allocations: 380.2 kB / 3.41 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/9.28, allocations: 313.6 kB / 3.41 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.523e-06/9.28, allocations: 0 / 3.41 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08036/9.361, allocations: 40.12 MB / 3.449 GB, free: 142.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/9.361, allocations: 256.9 kB / 3.449 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.625/12.99, allocations: 0 / 3.449 GB, free: 142.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)