Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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: translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5168/0.5168, allocations: 90.91 MB / 99.35 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 93.94 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.653e-05/1.655e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1503, allocations: 72.32 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.327, allocations: 364.7 MB / 0.9097 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/1.327, allocations: 79.7 kB / 0.9097 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.6923/2.02, allocations: 170.3 MB / 1.076 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.415e-06/2.02, allocations: 3.25 kB / 1.076 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.548e-05/2.02, allocations: 7.75 kB / 1.076 GB, free: 163.2 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009713/2.021, allocations: 0.6635 MB / 1.077 GB, free: 162.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/2.021, allocations: 19.34 kB / 1.077 GB, free: 162.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.879e-05/2.021, allocations: 45.75 kB / 1.077 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02911/2.05, allocations: 14.58 MB / 1.091 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/2.05, allocations: 3.75 kB / 1.091 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/2.05, allocations: 14.59 kB / 1.091 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002295/2.05, allocations: 89.91 kB / 1.091 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/2.05, allocations: 137.3 kB / 1.091 GB, free: 158.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/2.05, allocations: 0 / 1.091 GB, free: 158.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/2.051, allocations: 0 / 1.091 GB, free: 158.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/2.051, allocations: 3.875 kB / 1.091 GB, free: 158.2 MB / 0.5886 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.001112/2.052, allocations: 0.7947 MB / 1.092 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/2.052, allocations: 94.89 kB / 1.092 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/2.052, allocations: 47.3 kB / 1.092 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/2.052, allocations: 339.3 kB / 1.092 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/2.052, allocations: 41.33 kB / 1.093 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/2.052, allocations: 0 / 1.093 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0003406/2.053, allocations: 139.3 kB / 1.093 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/2.053, allocations: 55.28 kB / 1.093 GB, free: 157 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/2.053, allocations: 249.3 kB / 1.093 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/2.053, allocations: 25.7 kB / 1.093 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/2.053, allocations: 190.7 kB / 1.093 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/2.053, allocations: 41.23 kB / 1.093 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/2.053, allocations: 0 / 1.093 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.04e-05/2.053, allocations: 344.9 kB / 1.094 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/2.053, allocations: 26.78 kB / 1.094 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.395e-05/2.053, allocations: 86.72 kB / 1.094 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/2.053, allocations: 37.89 kB / 1.094 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/2.053, allocations: 0 / 1.094 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002233/2.054, allocations: 144 kB / 1.094 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/2.054, allocations: 180.6 kB / 1.094 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/2.054, allocations: 3.812 kB / 1.094 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/2.054, allocations: 7.891 kB / 1.094 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/2.054, allocations: 30.53 kB / 1.094 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/2.054, allocations: 0 / 1.094 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/2.054, allocations: 29.38 kB / 1.094 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/2.054, allocations: 3.969 kB / 1.094 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.633e-06/2.054, allocations: 3.969 kB / 1.094 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001705/2.054, allocations: 79.31 kB / 1.094 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/2.054, allocations: 7.156 kB / 1.094 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-06/2.054, allocations: 0 / 1.094 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/2.054, allocations: 30.2 kB / 1.094 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/2.054, allocations: 3.938 kB / 1.094 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/2.055, allocations: 28.47 kB / 1.094 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/2.055, allocations: 7.516 kB / 1.094 GB, free: 155.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.474e-05/2.055, allocations: 108.9 kB / 1.094 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/2.055, allocations: 34.47 kB / 1.094 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/2.055, allocations: 186.8 kB / 1.095 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/2.055, allocations: 0 / 1.095 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/2.055, allocations: 3.797 kB / 1.095 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/2.055, allocations: 3.906 kB / 1.095 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/2.056, allocations: 0.5254 MB / 1.095 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/2.056, allocations: 2.562 kB / 1.095 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/2.056, allocations: 31.59 kB / 1.095 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/2.056, allocations: 0 / 1.095 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/2.056, allocations: 3.406 kB / 1.095 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/2.056, allocations: 0 / 1.095 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.056, allocations: 6.594 kB / 1.095 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/2.056, allocations: 313 kB / 1.095 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/2.056, allocations: 125.8 kB / 1.096 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/2.056, allocations: 3.953 kB / 1.096 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/2.056, allocations: 22.81 kB / 1.096 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/2.056, allocations: 14.83 kB / 1.096 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/2.056, allocations: 3.312 kB / 1.096 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001389/2.057, allocations: 202.2 kB / 1.096 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.51e-07/2.057, allocations: 3.031 kB / 1.096 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005768/2.057, allocations: 165.7 kB / 1.096 GB, free: 154.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005178/2.058, allocations: 285.3 kB / 1.096 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002411/2.058, allocations: 147.6 kB / 1.096 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/2.058, allocations: 0 / 1.096 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/2.058, allocations: 56.73 kB / 1.096 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/2.059, allocations: 133.5 kB / 1.096 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/2.059, allocations: 366.9 kB / 1.097 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/2.06, allocations: 0.8008 MB / 1.098 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003066/2.06, allocations: 90.88 kB / 1.098 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/2.06, allocations: 22.72 kB / 1.098 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of SimCode: time 2.31e-07/2.06, allocations: 2.75 kB / 1.098 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.009567/2.069, allocations: 5.966 MB / 1.104 GB, free: 150.6 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)