Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.236/2.236, allocations: 390.3 MB / 402.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001107, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 221.3 MB / 0.7915 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 99.94 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.337e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3035, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.458, allocations: 413.9 MB / 1.623 GB, free: 4.559 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/1.458, allocations: 92.59 kB / 1.623 GB, free: 4.469 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.9823/2.44, allocations: 171.6 MB / 1.791 GB, free: 367.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.072e-06/2.44, allocations: 4 kB / 1.791 GB, free: 367.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.946e-05/2.44, allocations: 14.03 kB / 1.791 GB, free: 367.9 MB / 1.151 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.000822/2.441, allocations: 0.665 MB / 1.791 GB, free: 367.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/2.441, allocations: 11.62 kB / 1.791 GB, free: 367.3 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/2.441, allocations: 50.48 kB / 1.791 GB, free: 367.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/2.441, allocations: 46.44 kB / 1.791 GB, free: 367.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02715/2.469, allocations: 14.64 MB / 1.806 GB, free: 358.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/2.469, allocations: 12.27 kB / 1.806 GB, free: 358.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/2.469, allocations: 22.34 kB / 1.806 GB, free: 358.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/2.469, allocations: 160.3 kB / 1.806 GB, free: 358.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/2.469, allocations: 3.938 kB / 1.806 GB, free: 358.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/2.469, allocations: 8 kB / 1.806 GB, free: 358.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/2.469, allocations: 3.969 kB / 1.806 GB, free: 358.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/2.469, allocations: 108.7 kB / 1.806 GB, free: 358.5 MB / 1.151 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.0008763/2.47, allocations: 0.8274 MB / 1.807 GB, free: 357.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/2.47, allocations: 102.6 kB / 1.807 GB, free: 357.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/2.47, allocations: 52.84 kB / 1.807 GB, free: 357.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/2.47, allocations: 344.4 kB / 1.807 GB, free: 357.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/2.471, allocations: 34.78 kB / 1.807 GB, free: 357 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 2.424e-06/2.471, allocations: 0 / 1.807 GB, free: 357 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.0002414/2.471, allocations: 137.1 kB / 1.808 GB, free: 356.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/2.471, allocations: 59.34 kB / 1.808 GB, free: 356.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/2.471, allocations: 282.9 kB / 1.808 GB, free: 356.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/2.471, allocations: 29.7 kB / 1.808 GB, free: 356.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/2.471, allocations: 192.4 kB / 1.808 GB, free: 356.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/2.471, allocations: 46.05 kB / 1.808 GB, free: 356.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/2.471, allocations: 4 kB / 1.808 GB, free: 356.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.346e-05/2.471, allocations: 342.8 kB / 1.808 GB, free: 355.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/2.471, allocations: 24 kB / 1.808 GB, free: 355.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/2.471, allocations: 82.84 kB / 1.809 GB, free: 355.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.97e-05/2.471, allocations: 43.92 kB / 1.809 GB, free: 355.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/2.471, allocations: 3.938 kB / 1.809 GB, free: 355.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001695/2.472, allocations: 141.2 kB / 1.809 GB, free: 355.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/2.472, allocations: 182 kB / 1.809 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/2.472, allocations: 0 / 1.809 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/2.472, allocations: 4.188 kB / 1.809 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/2.472, allocations: 27.98 kB / 1.809 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/2.472, allocations: 3.938 kB / 1.809 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/2.472, allocations: 31.81 kB / 1.809 GB, free: 355.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/2.472, allocations: 12 kB / 1.809 GB, free: 355.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.074e-06/2.472, allocations: 13.66 kB / 1.809 GB, free: 355.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001193/2.472, allocations: 75.89 kB / 1.809 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/2.472, allocations: 4 kB / 1.809 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-06/2.472, allocations: 3.953 kB / 1.809 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/2.472, allocations: 27.98 kB / 1.809 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/2.472, allocations: 7.984 kB / 1.809 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/2.472, allocations: 27.98 kB / 1.809 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/2.472, allocations: 7.984 kB / 1.809 GB, free: 355.2 MB / 1.151 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 5.072e-05/2.473, allocations: 113.6 kB / 1.809 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/2.473, allocations: 35.53 kB / 1.809 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/2.473, allocations: 194.6 kB / 1.809 GB, free: 354.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/2.473, allocations: 7.953 kB / 1.809 GB, free: 354.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/2.473, allocations: 3.984 kB / 1.809 GB, free: 354.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/2.473, allocations: 4 kB / 1.809 GB, free: 354.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/2.473, allocations: 0.5656 MB / 1.81 GB, free: 354.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/2.473, allocations: 0 / 1.81 GB, free: 354.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/2.474, allocations: 31.92 kB / 1.81 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/2.474, allocations: 4 kB / 1.81 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/2.474, allocations: 4.094 kB / 1.81 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/2.474, allocations: 8.094 kB / 1.81 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/2.474, allocations: 7.875 kB / 1.81 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/2.474, allocations: 322.7 kB / 1.81 GB, free: 353.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.7e-05/2.474, allocations: 116.6 kB / 1.81 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/2.474, allocations: 7.984 kB / 1.81 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/2.474, allocations: 23.92 kB / 1.811 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/2.474, allocations: 15.98 kB / 1.811 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/2.474, allocations: 11.95 kB / 1.811 GB, free: 353.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001547/2.474, allocations: 233.2 kB / 1.811 GB, free: 353.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/2.474, allocations: 0 / 1.811 GB, free: 353.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004974/2.475, allocations: 163.8 kB / 1.811 GB, free: 353.2 MB / 1.151 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.0007503/2.476, allocations: 1.243 MB / 1.812 GB, free: 351.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002269/2.476, allocations: 146.1 kB / 1.812 GB, free: 351.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/2.476, allocations: 4 kB / 1.812 GB, free: 351.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.231e-05/2.476, allocations: 67.86 kB / 1.812 GB, free: 351.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/2.477, allocations: 137.8 kB / 1.812 GB, free: 351.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/2.477, allocations: 484.5 kB / 1.813 GB, free: 351 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/2.478, allocations: 0.8 MB / 1.814 GB, free: 350.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003067/2.478, allocations: 95.48 kB / 1.814 GB, free: 350.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/2.478, allocations: 99.41 kB / 1.814 GB, free: 350 MB / 1.151 GB Notification: Performance of SimCode: time 8.21e-07/2.478, allocations: 8 kB / 1.814 GB, free: 350 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/2.498, allocations: 10.86 MB / 1.825 GB, free: 339.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001314/2.498, allocations: 204.9 kB / 1.825 GB, free: 339.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/4.66, allocations: 0 / 1.825 GB, free: 339.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat does not exist to compare? outputFormat=mat