Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 175.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.479/2.479, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.195/1.195, allocations: 113.7 MB / 405.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005721/0.000572, allocations: 9.625 kB / 493 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3541, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.9864/1.341, allocations: 135.7 MB / 0.6892 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005192/1.346, allocations: 1.668 MB / 0.6909 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000595/1.347, allocations: 7.938 kB / 0.6909 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/1.348, allocations: 187.1 kB / 0.6911 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002928/1.351, allocations: 0.4986 MB / 0.6915 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/1.353, allocations: 403.8 kB / 0.6919 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003131/1.356, allocations: 1.497 MB / 0.6934 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/1.358, allocations: 0.7067 MB / 0.6941 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/1.36, allocations: 0.6929 MB / 0.6948 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/1.362, allocations: 493.9 kB / 0.6952 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/1.362, allocations: 32 kB / 0.6953 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/1.364, allocations: 415.4 kB / 0.6956 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004469/1.365, allocations: 263.1 kB / 0.6959 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005369/1.365, allocations: 229.1 kB / 0.6961 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/1.367, allocations: 0.9634 MB / 0.6971 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.367, allocations: 0 / 0.6971 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/1.367, allocations: 4 kB / 0.6971 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.541e-05/1.367, allocations: 4 kB / 0.6971 GB, free: 10.45 MB / 0.5137 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.003589/1.371, allocations: 1.288 MB / 0.6983 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.113e-05/1.371, allocations: 8.031 kB / 0.6983 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002089/1.371, allocations: 94.52 kB / 0.6984 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/1.373, allocations: 182.5 kB / 0.6986 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/1.375, allocations: 0.7923 MB / 0.6994 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/1.375, allocations: 45 kB / 0.6994 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/1.376, allocations: 60 kB / 0.6995 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/1.378, allocations: 0.8003 MB / 0.7003 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/1.378, allocations: 3.953 kB / 0.7003 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/1.378, allocations: 24 kB / 0.7003 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/1.378, allocations: 12 kB / 0.7003 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/1.379, allocations: 0.5423 MB / 0.7008 GB, free: 6.406 MB / 0.5137 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.00813/1.388, allocations: 4.606 MB / 0.7053 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/1.389, allocations: 432.6 kB / 0.7057 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.394e-05/1.389, allocations: 15.98 kB / 0.7057 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007831/1.39, allocations: 302.2 kB / 0.706 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 3.646e-06/1.39, allocations: 0 / 0.706 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31): time 0.00284/1.393, allocations: 0.6419 MB / 0.7067 GB, free: 4 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/1.393, allocations: 110.8 kB / 0.7068 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002934/1.396, allocations: 1.114 MB / 0.7079 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001716/1.396, allocations: 33.7 kB / 0.7079 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000783/1.397, allocations: 496.2 kB / 0.7084 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/1.397, allocations: 106.5 kB / 0.7085 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/1.397, allocations: 12 kB / 0.7085 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002744/1.397, allocations: 329.9 kB / 0.7088 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/1.398, allocations: 184.7 kB / 0.709 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/1.399, allocations: 0.4962 MB / 0.7094 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/1.4, allocations: 299.7 kB / 0.7097 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/1.4, allocations: 4 kB / 0.7097 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002238/1.402, allocations: 0.6803 MB / 0.7104 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001451/1.404, allocations: 2.125 MB / 0.7125 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/1.404, allocations: 11.94 kB / 0.7125 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.654e-05/1.404, allocations: 11.94 kB / 0.7125 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/1.405, allocations: 111.9 kB / 0.7126 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.258e-05/1.405, allocations: 15.92 kB / 0.7126 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/1.406, allocations: 111.3 kB / 0.7127 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-05/1.406, allocations: 27.98 kB / 0.7128 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.406, allocations: 4 kB / 0.7128 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001649/1.408, allocations: 0.5443 MB / 0.7133 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.408, allocations: 8.094 kB / 0.7133 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.408, allocations: 8 kB / 0.7133 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008385/1.409, allocations: 103.8 kB / 0.7134 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-05/1.409, allocations: 8.703 kB / 0.7134 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.41, allocations: 99.52 kB / 0.7135 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/1.41, allocations: 20 kB / 0.7135 GB, free: 8.586 MB / 0.5294 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): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001068/1.411, allocations: 480.6 kB / 0.714 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/1.412, allocations: 94.78 kB / 0.7141 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/1.413, allocations: 482.4 kB / 0.7145 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.413, allocations: 8 kB / 0.7145 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/1.413, allocations: 0 / 0.7145 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.413, allocations: 3.984 kB / 0.7145 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/1.416, allocations: 1.102 MB / 0.7156 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.416, allocations: 4.5 kB / 0.7156 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/1.416, allocations: 63.89 kB / 0.7157 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/1.416, allocations: 4 kB / 0.7157 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/1.416, allocations: 12 kB / 0.7157 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/1.416, allocations: 4 kB / 0.7157 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.416, allocations: 0 / 0.7157 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/1.418, allocations: 0.637 MB / 0.7163 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007493/1.419, allocations: 223.8 kB / 0.7165 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.419, allocations: 8 kB / 0.7166 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008247/1.42, allocations: 51.89 kB / 0.7166 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.42, allocations: 35.91 kB / 0.7166 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/1.42, allocations: 8 kB / 0.7166 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001872/1.422, allocations: 0.7836 MB / 0.7174 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/1.422, allocations: 0 / 0.7174 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00236/1.424, allocations: 415.4 kB / 0.7178 GB, free: 4 MB / 0.5294 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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002783/1.427, allocations: 1.737 MB / 0.7195 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002313/1.429, allocations: 0.8025 MB / 0.7203 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.429, allocations: 0 / 0.7203 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006203/1.43, allocations: 207.7 kB / 0.7205 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003694/1.434, allocations: 456.5 kB / 0.7209 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/1.458, allocations: 9.547 MB / 0.7302 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/1.46, allocations: 1.204 MB / 0.7314 GB, free: 5.621 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002395/1.462, allocations: 415.5 kB / 0.7318 GB, free: 5.211 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008429/1.463, allocations: 323.3 kB / 0.7321 GB, free: 4.895 MB / 0.545 GB Notification: Performance of SimCode: time 2.475e-06/1.463, allocations: 4 kB / 0.7321 GB, free: 4.891 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08675/1.55, allocations: 25.49 MB / 0.757 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004205/1.55, allocations: 239.4 kB / 0.7572 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.133/5.683, allocations: 0 / 0.7572 GB, free: 11.54 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: