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.731/2.731, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001498/0.001498, allocations: 171.6 kB / 0.4901 GB, free: 2.234 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.711/1.711, allocations: 223.1 MB / 0.7992 GB, free: 14.61 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.001139/0.001139, allocations: 104.3 kB / 0.9396 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005543/0.0005543, allocations: 11.12 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4947, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.336/1.831, allocations: 414 MB / 1.634 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004628/1.832, allocations: 87.08 kB / 1.634 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.4248/2.257, allocations: 172.1 MB / 1.802 GB, free: 3.781 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.763e-06/2.257, allocations: 0 / 1.802 GB, free: 3.781 MB / 1.104 GB Notification: Performance of Transformations before backend: time 5.557e-05/2.257, allocations: 11.98 kB / 1.802 GB, free: 3.77 MB / 1.104 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.001891/2.259, allocations: 0.7552 MB / 1.802 GB, free: 2.961 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/2.259, allocations: 12.03 kB / 1.802 GB, free: 2.949 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/2.259, allocations: 50.55 kB / 1.802 GB, free: 2.891 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/2.259, allocations: 43.53 kB / 1.803 GB, free: 2.848 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03673/2.296, allocations: 14.72 MB / 1.817 GB, free: 3.941 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/2.296, allocations: 16.33 kB / 1.817 GB, free: 3.926 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/2.296, allocations: 23.94 kB / 1.817 GB, free: 3.902 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/2.296, allocations: 172.2 kB / 1.817 GB, free: 3.73 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/2.296, allocations: 0 / 1.817 GB, free: 3.73 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/2.296, allocations: 8 kB / 1.817 GB, free: 3.723 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/2.297, allocations: 8 kB / 1.817 GB, free: 3.715 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/2.297, allocations: 140.1 kB / 1.817 GB, free: 3.578 MB / 1.12 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.0015/2.298, allocations: 0.8333 MB / 1.818 GB, free: 2.645 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/2.299, allocations: 122.6 kB / 1.818 GB, free: 2.516 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003159/2.299, allocations: 332.4 kB / 1.818 GB, free: 2.117 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/2.299, allocations: 38.52 kB / 1.819 GB, free: 2.07 MB / 1.12 GB Notification: Performance of pre-optimization done (n=12): time 2.735e-06/2.299, allocations: 0 / 1.819 GB, free: 2.07 MB / 1.12 GB Notification: Performance of matching and sorting (n=12): time 0.0006059/2.3, allocations: 217.2 kB / 1.819 GB, free: 1.852 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/2.3, allocations: 55.41 kB / 1.819 GB, free: 1.785 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/2.3, allocations: 288.9 kB / 1.819 GB, free: 1.496 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/2.3, allocations: 33.64 kB / 1.819 GB, free: 1.457 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/2.3, allocations: 196.2 kB / 1.819 GB, free: 1.262 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/2.3, allocations: 43.61 kB / 1.819 GB, free: 1.219 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/2.3, allocations: 0 / 1.819 GB, free: 1.219 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001479/2.301, allocations: 346.8 kB / 1.82 GB, free: 0.8711 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/2.301, allocations: 47.95 kB / 1.82 GB, free: 0.8242 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/2.301, allocations: 99.27 kB / 1.82 GB, free: 0.7031 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/2.301, allocations: 59.91 kB / 1.82 GB, free: 0.6445 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/2.301, allocations: 0 / 1.82 GB, free: 0.6445 MB / 1.12 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000384/2.301, allocations: 169.2 kB / 1.82 GB, free: 484 kB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/2.302, allocations: 190.7 kB / 1.82 GB, free: 280 kB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/2.302, allocations: 0 / 1.82 GB, free: 280 kB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/2.302, allocations: 4 kB / 1.82 GB, free: 276 kB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/2.302, allocations: 27.92 kB / 1.82 GB, free: 248 kB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/2.302, allocations: 0 / 1.82 GB, free: 248 kB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/2.302, allocations: 35.88 kB / 1.82 GB, free: 212 kB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/2.302, allocations: 8 kB / 1.82 GB, free: 204 kB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/2.302, allocations: 4 kB / 1.82 GB, free: 200 kB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002842/2.302, allocations: 111.9 kB / 1.82 GB, free: 88 kB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/2.302, allocations: 4 kB / 1.82 GB, free: 84 kB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-06/2.302, allocations: 0 / 1.82 GB, free: 84 kB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/2.303, allocations: 32.31 kB / 1.82 GB, free: 52 kB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/2.303, allocations: 0 / 1.82 GB, free: 52 kB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/2.303, allocations: 35.81 kB / 1.82 GB, free: 16 kB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/2.303, allocations: 15.92 kB / 1.82 GB, free: 0 / 1.12 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.0002298/2.303, allocations: 225.5 kB / 1.821 GB, free: 15.77 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/2.303, allocations: 35.62 kB / 1.821 GB, free: 15.73 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/2.304, allocations: 228.5 kB / 1.821 GB, free: 15.51 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/2.304, allocations: 3.953 kB / 1.821 GB, free: 15.5 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/2.304, allocations: 4 kB / 1.821 GB, free: 15.5 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/2.304, allocations: 4 kB / 1.821 GB, free: 15.5 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009382/2.305, allocations: 0.6068 MB / 1.822 GB, free: 14.82 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/2.305, allocations: 0 / 1.822 GB, free: 14.82 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/2.305, allocations: 31.88 kB / 1.822 GB, free: 14.79 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/2.305, allocations: 4 kB / 1.822 GB, free: 14.79 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/2.305, allocations: 4 kB / 1.822 GB, free: 14.79 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/2.305, allocations: 4 kB / 1.822 GB, free: 14.78 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/2.305, allocations: 0 / 1.822 GB, free: 14.78 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/2.305, allocations: 359.3 kB / 1.822 GB, free: 14.39 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/2.306, allocations: 116.7 kB / 1.822 GB, free: 14.25 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/2.306, allocations: 4 kB / 1.822 GB, free: 14.25 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/2.306, allocations: 31.91 kB / 1.822 GB, free: 14.22 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/2.306, allocations: 11.98 kB / 1.822 GB, free: 14.21 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/2.306, allocations: 11.95 kB / 1.822 GB, free: 14.2 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0002411/2.306, allocations: 231.2 kB / 1.822 GB, free: 13.97 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.2e-07/2.306, allocations: 0 / 1.822 GB, free: 13.97 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0006875/2.307, allocations: 167.7 kB / 1.822 GB, free: 13.81 MB / 1.135 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.001434/2.308, allocations: 1.283 MB / 1.824 GB, free: 12.49 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0005243/2.309, allocations: 187.8 kB / 1.824 GB, free: 12.3 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/2.309, allocations: 0 / 1.824 GB, free: 12.3 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/2.309, allocations: 87.77 kB / 1.824 GB, free: 12.22 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007243/2.31, allocations: 142.1 kB / 1.824 GB, free: 12.08 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/2.313, allocations: 1.847 MB / 1.826 GB, free: 10.17 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/2.313, allocations: 0.8037 MB / 1.827 GB, free: 9.336 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0003258/2.313, allocations: 67.23 kB / 1.827 GB, free: 9.266 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/2.314, allocations: 111.4 kB / 1.827 GB, free: 9.156 MB / 1.135 GB Notification: Performance of SimCode: time 6.41e-07/2.314, allocations: 0 / 1.827 GB, free: 9.156 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/2.34, allocations: 10.1 MB / 1.837 GB, free: 15.29 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003305/2.341, allocations: 233.3 kB / 1.837 GB, free: 15.05 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/4.928, allocations: 0 / 1.837 GB, free: 15.05 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