Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",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.7324/0.7324, allocations: 127.4 MB / 134.9 MB, free: 3.785 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.001126/0.001127, allocations: 172.9 kB / 164.6 MB, free: 6.531 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.684/1.684, allocations: 205.2 MB / 399.5 MB, free: 5.934 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.0008961/0.0008962, allocations: 87.45 kB / 476.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.068e-05, allocations: 4 kB / 0.5467 GB, free: 60.42 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1684, allocations: 76.76 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.472, allocations: 361.3 MB / 0.9744 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/1.473, allocations: 87.89 kB / 0.9745 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.2999/1.773, allocations: 163.7 MB / 1.134 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/1.773, allocations: 0 / 1.134 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.185e-05/1.773, allocations: 8 kB / 1.134 GB, free: 1.762 MB / 0.6355 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.0009918/1.774, allocations: 0.6661 MB / 1.135 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.774, allocations: 8.031 kB / 1.135 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/1.774, allocations: 39.53 kB / 1.135 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4237/2.198, allocations: 13.2 MB / 1.148 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/2.198, allocations: 6.312 kB / 1.148 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/2.198, allocations: 10.75 kB / 1.148 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003219/2.198, allocations: 97.03 kB / 1.148 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/2.198, allocations: 128.2 kB / 1.148 GB, free: 169.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/2.198, allocations: 0.8438 kB / 1.148 GB, free: 169.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/2.198, allocations: 3.469 kB / 1.148 GB, free: 169.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/2.198, allocations: 3.781 kB / 1.148 GB, free: 169.7 MB / 0.6355 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.001638/2.2, allocations: 0.9358 MB / 1.149 GB, free: 169 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/2.2, allocations: 83.34 kB / 1.149 GB, free: 169 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.131e-05/2.2, allocations: 32.67 kB / 1.149 GB, free: 169 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/2.2, allocations: 169 kB / 1.149 GB, free: 168.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/2.2, allocations: 31.81 kB / 1.149 GB, free: 168.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.755e-06/2.2, allocations: 0 / 1.149 GB, free: 168.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0007647/2.201, allocations: 148.5 kB / 1.15 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/2.201, allocations: 56.66 kB / 1.15 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/2.202, allocations: 259.3 kB / 1.15 GB, free: 168.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/2.202, allocations: 26.89 kB / 1.15 GB, free: 168.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/2.202, allocations: 198.1 kB / 1.15 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/2.202, allocations: 33.14 kB / 1.15 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/2.202, allocations: 4.5 kB / 1.15 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/2.202, allocations: 345.3 kB / 1.15 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/2.202, allocations: 29 kB / 1.15 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-05/2.202, allocations: 78.92 kB / 1.151 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/2.202, allocations: 49.78 kB / 1.151 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/2.202, allocations: 0 / 1.151 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002849/2.202, allocations: 147.8 kB / 1.151 GB, free: 168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-05/2.203, allocations: 179.8 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/2.203, allocations: 0.7188 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/2.203, allocations: 1.891 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/2.203, allocations: 37.47 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/2.203, allocations: 1.469 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/2.203, allocations: 27.72 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/2.203, allocations: 16.88 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/2.203, allocations: 4.531 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000201/2.203, allocations: 61.75 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/2.203, allocations: 0 / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-06/2.203, allocations: 2.062 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/2.204, allocations: 27.12 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/2.204, allocations: 4.312 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/2.204, allocations: 32.06 kB / 1.151 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/2.204, allocations: 6.938 kB / 1.151 GB, free: 167.8 MB / 0.6355 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 (11): * Single equations (assignments): 11 * 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 7.928e-05/2.204, allocations: 110.1 kB / 1.151 GB, free: 167.7 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002324/2.204, allocations: 126.3 kB / 1.151 GB, free: 167.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/2.204, allocations: 29.12 kB / 1.151 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/2.205, allocations: 137.9 kB / 1.151 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/2.205, allocations: 4.812 kB / 1.151 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/2.205, allocations: 0 / 1.151 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/2.205, allocations: 5.078 kB / 1.151 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/2.205, allocations: 258.7 kB / 1.152 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/2.205, allocations: 2.344 kB / 1.152 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/2.205, allocations: 29.69 kB / 1.152 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/2.205, allocations: 1.5 kB / 1.152 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/2.205, allocations: 3.875 kB / 1.152 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/2.205, allocations: 4.656 kB / 1.152 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/2.205, allocations: 0 / 1.152 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/2.205, allocations: 228 kB / 1.152 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/2.205, allocations: 105.5 kB / 1.152 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/2.206, allocations: 3.953 kB / 1.152 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/2.206, allocations: 22.67 kB / 1.152 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/2.206, allocations: 9.766 kB / 1.152 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/2.206, allocations: 6.359 kB / 1.152 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001759/2.206, allocations: 200.4 kB / 1.152 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/2.206, allocations: 3.375 kB / 1.152 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006351/2.207, allocations: 150.7 kB / 1.152 GB, free: 167.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000935/2.208, allocations: 0.9403 MB / 1.153 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002777/2.208, allocations: 129 kB / 1.154 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/2.208, allocations: 0 / 1.154 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/2.208, allocations: 41.59 kB / 1.154 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/2.209, allocations: 116.2 kB / 1.154 GB, free: 166.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/2.21, allocations: 421.2 kB / 1.154 GB, free: 166.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/2.21, allocations: 0.801 MB / 1.155 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003682/2.21, allocations: 83.12 kB / 1.155 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/2.21, allocations: 108.8 kB / 1.155 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/2.21, allocations: 0 / 1.155 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/2.243, allocations: 8.926 MB / 1.164 GB, free: 165.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/2.244, allocations: 194.8 kB / 1.164 GB, free: 165.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/4.5, allocations: 0 / 1.164 GB, free: 165.2 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)