Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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.6989/0.6989, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001082/0.001082, allocations: 184.8 kB / 169.7 MB, free: 1.742 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.557/1.557, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.0009057/0.0009056, allocations: 93.47 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.275e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1477, allocations: 76.75 MB / 0.6282 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.628/5.776, allocations: 2.138 GB / 2.766 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/5.777, allocations: 84.58 kB / 2.766 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8442/6.621, allocations: 219.6 MB / 2.98 GB, free: 177.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/6.621, allocations: 0 / 2.98 GB, free: 177.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.983e-05/6.621, allocations: 13.7 kB / 2.98 GB, free: 177.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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008512/6.622, allocations: 0.5484 MB / 2.981 GB, free: 177.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/6.622, allocations: 18.34 kB / 2.981 GB, free: 177.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/6.622, allocations: 53.44 kB / 2.981 GB, free: 177 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/6.622, allocations: 51.48 kB / 2.981 GB, free: 177 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/6.623, allocations: 306.8 kB / 2.981 GB, free: 176.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/6.623, allocations: 11.38 kB / 2.981 GB, free: 176.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/6.623, allocations: 19.11 kB / 2.981 GB, free: 176.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/6.623, allocations: 182.7 kB / 2.982 GB, free: 176.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/6.623, allocations: 0 / 2.982 GB, free: 176.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/6.623, allocations: 7.281 kB / 2.982 GB, free: 176.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/6.623, allocations: 3.656 kB / 2.982 GB, free: 176.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/6.624, allocations: 132.8 kB / 2.982 GB, free: 176.6 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.000786/6.624, allocations: 0.6105 MB / 2.982 GB, free: 176.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/6.625, allocations: 123.9 kB / 2.982 GB, free: 176.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.763e-05/6.625, allocations: 63.45 kB / 2.982 GB, free: 176.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/6.625, allocations: 181.5 kB / 2.983 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/6.625, allocations: 38.47 kB / 2.983 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/6.625, allocations: 0 / 2.983 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0008292/6.626, allocations: 216 kB / 2.983 GB, free: 175.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/6.626, allocations: 55.16 kB / 2.983 GB, free: 175.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/6.626, allocations: 227.9 kB / 2.983 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/6.626, allocations: 25.7 kB / 2.983 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/6.626, allocations: 149 kB / 2.983 GB, free: 175.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/6.626, allocations: 33.47 kB / 2.983 GB, free: 175.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/6.626, allocations: 4 kB / 2.983 GB, free: 175.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.547e-05/6.627, allocations: 328.9 kB / 2.984 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/6.627, allocations: 33.52 kB / 2.984 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.143e-05/6.627, allocations: 74.59 kB / 2.984 GB, free: 175 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.413e-05/6.627, allocations: 49.62 kB / 2.984 GB, free: 175 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/6.627, allocations: 4 kB / 2.984 GB, free: 175 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001919/6.627, allocations: 134.7 kB / 2.984 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-05/6.627, allocations: 269.9 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/6.627, allocations: 3.516 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/6.627, allocations: 7.438 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/6.627, allocations: 28.86 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/6.627, allocations: 3.953 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/6.628, allocations: 36.91 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/6.628, allocations: 10.94 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/6.628, allocations: 3.438 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001223/6.628, allocations: 69.55 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/6.628, allocations: 7.406 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-06/6.628, allocations: 0 / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/6.628, allocations: 24.64 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-06/6.628, allocations: 0 / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/6.628, allocations: 30.14 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/6.628, allocations: 3.625 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 6.183e-05/6.628, allocations: 116.1 kB / 2.985 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/6.628, allocations: 15.28 kB / 2.985 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.378e-05/6.628, allocations: 29.45 kB / 2.985 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/6.628, allocations: 3.844 kB / 2.985 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/6.628, allocations: 0 / 2.985 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/6.628, allocations: 7.922 kB / 2.985 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006535/6.629, allocations: 0.5519 MB / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/6.629, allocations: 7.438 kB / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/6.629, allocations: 42.67 kB / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/6.629, allocations: 3.094 kB / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/6.629, allocations: 3.969 kB / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/6.629, allocations: 0 / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/6.629, allocations: 2.344 kB / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/6.629, allocations: 332.3 kB / 2.985 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/6.63, allocations: 107.9 kB / 2.986 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/6.63, allocations: 2.938 kB / 2.986 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/6.63, allocations: 25.62 kB / 2.986 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/6.63, allocations: 18.64 kB / 2.986 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/6.63, allocations: 9.344 kB / 2.986 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001394/6.63, allocations: 193 kB / 2.986 GB, free: 173.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/6.63, allocations: 3.938 kB / 2.986 GB, free: 173.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006657/6.631, allocations: 157.3 kB / 2.986 GB, free: 173.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001515/6.632, allocations: 2.076 MB / 2.988 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002487/6.632, allocations: 133.5 kB / 2.988 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/6.632, allocations: 7.969 kB / 2.988 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/6.633, allocations: 50.05 kB / 2.988 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/6.633, allocations: 126.6 kB / 2.988 GB, free: 171.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006639/6.634, allocations: 376.6 kB / 2.989 GB, free: 171.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/6.634, allocations: 0.7655 MB / 2.989 GB, free: 170.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002799/6.634, allocations: 84.16 kB / 2.989 GB, free: 170.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/6.635, allocations: 64.81 kB / 2.99 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/6.635, allocations: 4 kB / 2.99 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/6.673, allocations: 23.26 MB / 3.012 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/6.673, allocations: 198 kB / 3.012 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/9.197, allocations: 0 / 3.012 GB, free: 153.6 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)