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.7323/0.7323, allocations: 128.7 MB / 143.7 MB, free: 2.332 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.001097/0.001097, allocations: 176 kB / 173.7 MB, free: 6.117 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.703/1.703, allocations: 205.4 MB / 409 MB, free: 10.52 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.0009523/0.0009523, allocations: 105.2 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 8.469 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.17, allocations: 76.78 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.051/5.221, allocations: 2.138 GB / 2.773 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/5.222, allocations: 92.38 kB / 2.773 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7825/6.004, allocations: 219.9 MB / 2.988 GB, free: 177.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.104e-06/6.004, allocations: 0 / 2.988 GB, free: 177.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.519e-05/6.004, allocations: 9.828 kB / 2.988 GB, free: 177.3 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.001161/6.005, allocations: 0.5919 MB / 2.988 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/6.005, allocations: 14 kB / 2.988 GB, free: 176.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.128e-05/6.006, allocations: 46.34 kB / 2.988 GB, free: 176.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003885/6.006, allocations: 57.38 kB / 2.989 GB, free: 176.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/6.006, allocations: 301.2 kB / 2.989 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/6.006, allocations: 14.84 kB / 2.989 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/6.007, allocations: 19.75 kB / 2.989 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/6.007, allocations: 212.4 kB / 2.989 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/6.007, allocations: 3.953 kB / 2.989 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/6.007, allocations: 3.938 kB / 2.989 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/6.007, allocations: 7.719 kB / 2.989 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/6.008, allocations: 189.1 kB / 2.989 GB, free: 176.6 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.0009255/6.009, allocations: 0.6129 MB / 2.99 GB, free: 176.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/6.009, allocations: 148.4 kB / 2.99 GB, free: 176.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/6.01, allocations: 192 kB / 2.99 GB, free: 176 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/6.01, allocations: 41.27 kB / 2.99 GB, free: 176 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.895e-06/6.01, allocations: 3.531 kB / 2.99 GB, free: 176 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.001238/6.011, allocations: 316.1 kB / 2.991 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/6.011, allocations: 55.19 kB / 2.991 GB, free: 175.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/6.011, allocations: 233.9 kB / 2.991 GB, free: 175.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/6.011, allocations: 25.7 kB / 2.991 GB, free: 175.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/6.011, allocations: 149 kB / 2.991 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/6.011, allocations: 30.19 kB / 2.991 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-06/6.011, allocations: 0 / 2.991 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/6.011, allocations: 335.6 kB / 2.991 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/6.012, allocations: 58.47 kB / 2.991 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/6.012, allocations: 115.7 kB / 2.991 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/6.012, allocations: 76.39 kB / 2.992 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/6.012, allocations: 0 / 2.992 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004593/6.013, allocations: 188.7 kB / 2.992 GB, free: 175.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.742e-05/6.013, allocations: 280.6 kB / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/6.013, allocations: 0 / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/6.013, allocations: 0 / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/6.013, allocations: 40.59 kB / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/6.013, allocations: 0 / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/6.013, allocations: 34.77 kB / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/6.013, allocations: 7 kB / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/6.013, allocations: 1.562 kB / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002404/6.013, allocations: 113.1 kB / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/6.013, allocations: 0 / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/6.013, allocations: 3.812 kB / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/6.014, allocations: 25.22 kB / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/6.014, allocations: 3.797 kB / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/6.014, allocations: 35.08 kB / 2.992 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/6.014, allocations: 7.844 kB / 2.992 GB, free: 174.9 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 () * Number of clocked 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 0.0001277/6.014, allocations: 210.7 kB / 2.992 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/6.014, allocations: 27.14 kB / 2.992 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/6.014, allocations: 28.64 kB / 2.993 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/6.014, allocations: 3.5 kB / 2.993 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/6.014, allocations: 0 / 2.993 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/6.014, allocations: 0 / 2.993 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/6.015, allocations: 0.6134 MB / 2.993 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/6.015, allocations: 0 / 2.993 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/6.015, allocations: 33.61 kB / 2.993 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/6.015, allocations: 11.09 kB / 2.993 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/6.015, allocations: 6.781 kB / 2.993 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/6.015, allocations: 0 / 2.993 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/6.015, allocations: 3.875 kB / 2.993 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/6.016, allocations: 397.5 kB / 2.994 GB, free: 174.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/6.016, allocations: 99.47 kB / 2.994 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/6.016, allocations: 6.781 kB / 2.994 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/6.016, allocations: 20.2 kB / 2.994 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/6.016, allocations: 14.28 kB / 2.994 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/6.016, allocations: 7.547 kB / 2.994 GB, free: 174 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001493/6.016, allocations: 198.6 kB / 2.994 GB, free: 173.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/6.016, allocations: 0 / 2.994 GB, free: 173.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007217/6.017, allocations: 163.5 kB / 2.994 GB, free: 173.9 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 () * Number of clocked 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.002118/6.019, allocations: 2.136 MB / 2.996 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005847/6.02, allocations: 202.8 kB / 2.996 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/6.02, allocations: 3.938 kB / 2.996 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/6.02, allocations: 78.5 kB / 2.996 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/6.021, allocations: 126.8 kB / 2.997 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/6.023, allocations: 1.685 MB / 2.998 GB, free: 171.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/6.023, allocations: 0.7569 MB / 2.999 GB, free: 171 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002669/6.024, allocations: 58.05 kB / 2.999 GB, free: 171 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/6.024, allocations: 65.69 kB / 2.999 GB, free: 171 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/6.024, allocations: 3.062 kB / 2.999 GB, free: 171 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/6.063, allocations: 20.42 MB / 3.019 GB, free: 170.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/6.064, allocations: 229.1 kB / 3.019 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/8.356, allocations: 0 / 3.019 GB, free: 169.9 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)