Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.941/1.941, allocations: 288.2 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 189 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009081/0.0009079, allocations: 103 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004048, allocations: 11.78 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2404, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.357, allocations: 401.8 MB / 1.372 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003887/1.358, allocations: 89.09 kB / 1.372 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1/2.358, allocations: 168 MB / 1.536 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.836e-06/2.358, allocations: 0 / 1.536 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.226e-05/2.358, allocations: 12 kB / 1.536 GB, free: 254.1 MB / 0.9323 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.001939/2.36, allocations: 0.7598 MB / 1.537 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/2.36, allocations: 8.031 kB / 1.537 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/2.36, allocations: 54.55 kB / 1.537 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/2.361, allocations: 39.53 kB / 1.537 GB, free: 253.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02829/2.389, allocations: 13.77 MB / 1.55 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/2.389, allocations: 16.28 kB / 1.55 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/2.389, allocations: 16 kB / 1.55 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/2.39, allocations: 176.2 kB / 1.551 GB, free: 239 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/2.39, allocations: 0 / 1.551 GB, free: 239 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/2.39, allocations: 12 kB / 1.551 GB, free: 239 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/2.39, allocations: 4 kB / 1.551 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/2.39, allocations: 136.1 kB / 1.551 GB, free: 238.8 MB / 0.9323 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.001365/2.391, allocations: 0.8295 MB / 1.552 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/2.392, allocations: 122.6 kB / 1.552 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/2.392, allocations: 336.4 kB / 1.552 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/2.392, allocations: 30.56 kB / 1.552 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=12): time 2.675e-06/2.392, allocations: 4 kB / 1.552 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12): time 0.0006044/2.393, allocations: 221.3 kB / 1.552 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/2.393, allocations: 51.41 kB / 1.552 GB, free: 237 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/2.393, allocations: 292.9 kB / 1.553 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/2.393, allocations: 33.7 kB / 1.553 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/2.393, allocations: 196.3 kB / 1.553 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/2.393, allocations: 43.34 kB / 1.553 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/2.393, allocations: 0 / 1.553 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001107/2.393, allocations: 350.8 kB / 1.553 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/2.394, allocations: 39.97 kB / 1.553 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/2.394, allocations: 102.8 kB / 1.553 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/2.394, allocations: 59.91 kB / 1.553 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/2.394, allocations: 0 / 1.553 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003374/2.394, allocations: 177.2 kB / 1.553 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-05/2.394, allocations: 186 kB / 1.554 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/2.394, allocations: 0 / 1.554 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/2.394, allocations: 0 / 1.554 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/2.394, allocations: 39.88 kB / 1.554 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/2.394, allocations: 0 / 1.554 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/2.395, allocations: 39.81 kB / 1.554 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/2.395, allocations: 4 kB / 1.554 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/2.395, allocations: 5.562 kB / 1.554 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002498/2.395, allocations: 115.9 kB / 1.554 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/2.395, allocations: 7.938 kB / 1.554 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-06/2.395, allocations: 0 / 1.554 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/2.395, allocations: 23.98 kB / 1.554 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/2.395, allocations: 4 kB / 1.554 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/2.395, allocations: 27.97 kB / 1.554 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/2.395, allocations: 8 kB / 1.554 GB, free: 235.2 MB / 0.9323 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 () * Number of clocked 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 0.0001941/2.396, allocations: 229 kB / 1.554 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/2.396, allocations: 35.53 kB / 1.554 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/2.396, allocations: 229.8 kB / 1.554 GB, free: 234.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/2.396, allocations: 3.938 kB / 1.554 GB, free: 234.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/2.396, allocations: 0 / 1.554 GB, free: 234.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/2.396, allocations: 0 / 1.554 GB, free: 234.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008581/2.397, allocations: 0.6113 MB / 1.555 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/2.397, allocations: 0 / 1.555 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/2.397, allocations: 27.98 kB / 1.555 GB, free: 234 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/2.397, allocations: 0 / 1.555 GB, free: 234 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/2.397, allocations: 8 kB / 1.555 GB, free: 234 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/2.397, allocations: 3.984 kB / 1.555 GB, free: 234 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/2.397, allocations: 8.094 kB / 1.555 GB, free: 234 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/2.398, allocations: 355.3 kB / 1.555 GB, free: 233.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/2.398, allocations: 120.6 kB / 1.555 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/2.398, allocations: 7.953 kB / 1.556 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/2.398, allocations: 31.88 kB / 1.556 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/2.398, allocations: 7.984 kB / 1.556 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/2.398, allocations: 12 kB / 1.556 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001975/2.398, allocations: 231.2 kB / 1.556 GB, free: 233.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.31e-07/2.398, allocations: 0 / 1.556 GB, free: 233.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006902/2.399, allocations: 159.8 kB / 1.556 GB, free: 233 MB / 0.9323 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 () * Number of clocked 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.001195/2.4, allocations: 1.28 MB / 1.557 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00047/2.401, allocations: 193.4 kB / 1.557 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/2.401, allocations: 4 kB / 1.557 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/2.401, allocations: 79.83 kB / 1.557 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/2.402, allocations: 143.2 kB / 1.558 GB, free: 231.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/2.404, allocations: 1.839 MB / 1.559 GB, free: 229.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/2.404, allocations: 0.8038 MB / 1.56 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002861/2.405, allocations: 79.89 kB / 1.56 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/2.405, allocations: 115.4 kB / 1.56 GB, free: 228.4 MB / 0.9323 GB Notification: Performance of SimCode: time 2.21e-07/2.405, allocations: 0 / 1.56 GB, free: 228.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/2.431, allocations: 10.1 MB / 1.57 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/2.432, allocations: 245.3 kB / 1.57 GB, free: 218.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/5.069, allocations: 4 kB / 1.57 GB, free: 218.3 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)