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.328/2.328, allocations: 390.5 MB / 398 MB, free: 10.93 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.001417/0.001417, allocations: 191.7 kB / 491.2 MB, free: 1.59 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009257/0.0009255, allocations: 97.84 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.45e-05/2.444e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2895, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.392, allocations: 413.2 MB / 1.616 GB, free: 1.926 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/1.392, allocations: 84.83 kB / 1.616 GB, free: 1.883 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.001/2.393, allocations: 170.3 MB / 1.782 GB, free: 377 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.393e-06/2.393, allocations: 0.9375 kB / 1.782 GB, free: 377 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.477e-05/2.393, allocations: 9.438 kB / 1.782 GB, free: 377 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.001241/2.395, allocations: 0.6768 MB / 1.783 GB, free: 376.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/2.395, allocations: 13.05 kB / 1.783 GB, free: 376.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/2.395, allocations: 45.62 kB / 1.783 GB, free: 376.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03453/2.429, allocations: 14.57 MB / 1.797 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/2.429, allocations: 3.844 kB / 1.797 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/2.43, allocations: 15.73 kB / 1.797 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002284/2.43, allocations: 99.55 kB / 1.797 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/2.43, allocations: 131.3 kB / 1.798 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/2.43, allocations: 0 / 1.798 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/2.43, allocations: 3.75 kB / 1.798 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/2.43, allocations: 3.906 kB / 1.798 GB, free: 375.8 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.00112/2.431, allocations: 0.7927 MB / 1.798 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/2.431, allocations: 93.56 kB / 1.798 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.509e-05/2.432, allocations: 58.28 kB / 1.798 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/2.432, allocations: 337.9 kB / 1.799 GB, free: 374.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/2.432, allocations: 33.84 kB / 1.799 GB, free: 374.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.784e-06/2.432, allocations: 0 / 1.799 GB, free: 374.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.000399/2.432, allocations: 139 kB / 1.799 GB, free: 374.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/2.432, allocations: 51.41 kB / 1.799 GB, free: 374.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/2.432, allocations: 252.3 kB / 1.799 GB, free: 374.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/2.432, allocations: 25.7 kB / 1.799 GB, free: 374.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.693e-05/2.433, allocations: 198 kB / 1.799 GB, free: 374.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/2.433, allocations: 42.56 kB / 1.799 GB, free: 374.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/2.433, allocations: 0 / 1.799 GB, free: 374.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.07e-05/2.433, allocations: 343.1 kB / 1.8 GB, free: 374.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.527e-05/2.433, allocations: 25.08 kB / 1.8 GB, free: 374.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/2.433, allocations: 82.22 kB / 1.8 GB, free: 374 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/2.433, allocations: 51.77 kB / 1.8 GB, free: 374 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/2.433, allocations: 0 / 1.8 GB, free: 374 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002524/2.433, allocations: 138.3 kB / 1.8 GB, free: 374 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.998e-05/2.433, allocations: 183.7 kB / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/2.433, allocations: 0 / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/2.433, allocations: 0 / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/2.434, allocations: 36.75 kB / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/2.434, allocations: 3.094 kB / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/2.434, allocations: 30.69 kB / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/2.434, allocations: 7.781 kB / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.186e-06/2.434, allocations: 7.219 kB / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001882/2.434, allocations: 73.7 kB / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/2.434, allocations: 3.969 kB / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-06/2.434, allocations: 0 / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/2.434, allocations: 29.81 kB / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/2.434, allocations: 3.812 kB / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/2.434, allocations: 24.31 kB / 1.8 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/2.434, allocations: 11.02 kB / 1.8 GB, free: 373.8 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 6.553e-05/2.434, allocations: 104.5 kB / 1.801 GB, free: 373.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002346/2.435, allocations: 138.2 kB / 1.801 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/2.435, allocations: 33.69 kB / 1.801 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/2.435, allocations: 195.1 kB / 1.801 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/2.435, allocations: 3.656 kB / 1.801 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/2.435, allocations: 0 / 1.801 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/2.435, allocations: 0 / 1.801 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/2.436, allocations: 0.523 MB / 1.801 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/2.436, allocations: 7.594 kB / 1.801 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/2.436, allocations: 30.69 kB / 1.801 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/2.436, allocations: 3.844 kB / 1.802 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/2.436, allocations: 3.875 kB / 1.802 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/2.436, allocations: 3.656 kB / 1.802 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/2.436, allocations: 0 / 1.802 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/2.436, allocations: 310.8 kB / 1.802 GB, free: 373 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/2.436, allocations: 125.2 kB / 1.802 GB, free: 372.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/2.436, allocations: 7.828 kB / 1.802 GB, free: 372.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/2.437, allocations: 19.44 kB / 1.802 GB, free: 372.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/2.437, allocations: 19.45 kB / 1.802 GB, free: 372.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/2.437, allocations: 7.516 kB / 1.802 GB, free: 372.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001444/2.437, allocations: 200.1 kB / 1.802 GB, free: 372.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/2.437, allocations: 0 / 1.802 GB, free: 372.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005829/2.437, allocations: 161 kB / 1.802 GB, free: 372.8 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.0009417/2.438, allocations: 1.225 MB / 1.804 GB, free: 371.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002326/2.439, allocations: 152.5 kB / 1.804 GB, free: 371.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/2.439, allocations: 3.469 kB / 1.804 GB, free: 371.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/2.439, allocations: 56.47 kB / 1.804 GB, free: 371.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000643/2.439, allocations: 128.7 kB / 1.804 GB, free: 371.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008282/2.44, allocations: 463.2 kB / 1.804 GB, free: 371.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/2.44, allocations: 0.8106 MB / 1.805 GB, free: 370.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003393/2.441, allocations: 84.72 kB / 1.805 GB, free: 370.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/2.441, allocations: 111.6 kB / 1.805 GB, free: 370.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/2.441, allocations: 0 / 1.805 GB, free: 370.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/2.472, allocations: 8.86 MB / 1.814 GB, free: 370.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/2.472, allocations: 180.2 kB / 1.814 GB, free: 370.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/4.643, allocations: 0 / 1.814 GB, free: 370.3 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