Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.338/2.338, allocations: 390.5 MB / 398 MB, free: 11 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.001018/0.001018, allocations: 179.9 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.519/1.519, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009327/0.0009327, allocations: 95.88 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.444e-05/2.447e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3151, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.202/5.517, allocations: 1.868 GB / 3.08 GB, free: 357.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/5.518, allocations: 82.19 kB / 3.08 GB, free: 357.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4189/5.937, allocations: 219.4 MB / 3.295 GB, free: 196.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.583e-06/5.937, allocations: 0 / 3.295 GB, free: 196.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.398e-05/5.937, allocations: 4 kB / 3.295 GB, free: 196.2 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009706/5.938, allocations: 0.5648 MB / 3.295 GB, free: 195.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/5.938, allocations: 8.031 kB / 3.295 GB, free: 195.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/5.938, allocations: 59.55 kB / 3.295 GB, free: 195.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/5.939, allocations: 305.5 kB / 3.296 GB, free: 195.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/5.939, allocations: 7.938 kB / 3.296 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/5.939, allocations: 12 kB / 3.296 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001669/5.939, allocations: 83.97 kB / 3.296 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/5.939, allocations: 160.1 kB / 3.296 GB, free: 194.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/5.939, allocations: 3.938 kB / 3.296 GB, free: 194.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/5.939, allocations: 3.953 kB / 3.296 GB, free: 194.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/5.939, allocations: 7.938 kB / 3.296 GB, free: 194.9 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.0008735/5.94, allocations: 0.7348 MB / 3.297 GB, free: 194.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/5.94, allocations: 70.5 kB / 3.297 GB, free: 194 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.61e-05/5.94, allocations: 48.91 kB / 3.297 GB, free: 193.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/5.94, allocations: 190.2 kB / 3.297 GB, free: 193.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/5.941, allocations: 30.56 kB / 3.297 GB, free: 193.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/5.941, allocations: 4 kB / 3.297 GB, free: 193.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004222/5.941, allocations: 133.6 kB / 3.297 GB, free: 193.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/5.941, allocations: 59.36 kB / 3.297 GB, free: 193.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/5.941, allocations: 188.5 kB / 3.297 GB, free: 193.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/5.941, allocations: 25.7 kB / 3.297 GB, free: 193.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/5.941, allocations: 152.1 kB / 3.297 GB, free: 193.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/5.941, allocations: 31.55 kB / 3.298 GB, free: 193.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/5.941, allocations: 0 / 3.298 GB, free: 193.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.184e-05/5.941, allocations: 334.8 kB / 3.298 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.237e-05/5.941, allocations: 24 kB / 3.298 GB, free: 192.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.836e-05/5.941, allocations: 82.84 kB / 3.298 GB, free: 192.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/5.942, allocations: 39.92 kB / 3.298 GB, free: 192.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/5.942, allocations: 0 / 3.298 GB, free: 192.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001703/5.942, allocations: 129.3 kB / 3.298 GB, free: 192.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-05/5.942, allocations: 356 kB / 3.298 GB, free: 192.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/5.942, allocations: 4 kB / 3.298 GB, free: 192.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/5.942, allocations: 0 / 3.298 GB, free: 192.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/5.942, allocations: 23.98 kB / 3.298 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/5.942, allocations: 288 / 3.298 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/5.942, allocations: 23.97 kB / 3.298 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/5.942, allocations: 12 kB / 3.298 GB, free: 192 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/5.942, allocations: 11.88 kB / 3.299 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001134/5.942, allocations: 68.12 kB / 3.299 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-06/5.942, allocations: 48 / 3.299 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-06/5.942, allocations: 11.94 kB / 3.299 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/5.943, allocations: 23.98 kB / 3.299 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/5.943, allocations: 7.938 kB / 3.299 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/5.943, allocations: 23.95 kB / 3.299 GB, free: 191.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/5.943, allocations: 7.984 kB / 3.299 GB, free: 191.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.276e-05/5.943, allocations: 108.9 kB / 3.299 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001404/5.943, allocations: 105.5 kB / 3.299 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/5.943, allocations: 27.67 kB / 3.299 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/5.943, allocations: 123.4 kB / 3.299 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/5.943, allocations: 7.984 kB / 3.299 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/5.943, allocations: 4 kB / 3.299 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/5.943, allocations: 0 / 3.299 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/5.944, allocations: 0.5086 MB / 3.299 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/5.944, allocations: 4 kB / 3.3 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/5.944, allocations: 27.92 kB / 3.3 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/5.944, allocations: 4 kB / 3.3 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/5.944, allocations: 0 / 3.3 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/5.944, allocations: 4 kB / 3.3 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/5.944, allocations: 0 / 3.3 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/5.944, allocations: 349.2 kB / 3.3 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/5.944, allocations: 100.9 kB / 3.3 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/5.944, allocations: 4.281 kB / 3.3 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/5.944, allocations: 27.91 kB / 3.3 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/5.945, allocations: 15.89 kB / 3.3 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/5.945, allocations: 7.938 kB / 3.3 GB, free: 190.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.553e-05/5.945, allocations: 156.5 kB / 3.3 GB, free: 190.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/5.945, allocations: 0 / 3.3 GB, free: 190.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006621/5.945, allocations: 151.7 kB / 3.3 GB, free: 189.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.00167/5.947, allocations: 2.283 MB / 3.303 GB, free: 187.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002092/5.947, allocations: 113.2 kB / 3.303 GB, free: 187.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/5.947, allocations: 0 / 3.303 GB, free: 187.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.267e-05/5.947, allocations: 55.84 kB / 3.303 GB, free: 187.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006517/5.948, allocations: 98.17 kB / 3.303 GB, free: 187.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006699/5.949, allocations: 370.1 kB / 3.303 GB, free: 186.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/5.949, allocations: 0.76 MB / 3.304 GB, free: 186.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002901/5.949, allocations: 73.98 kB / 3.304 GB, free: 186.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/5.949, allocations: 63.42 kB / 3.304 GB, free: 186 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/5.949, allocations: 0 / 3.304 GB, free: 186 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/5.981, allocations: 12.32 MB / 3.316 GB, free: 173.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/5.982, allocations: 180.2 kB / 3.316 GB, free: 173.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/8.014, allocations: 2.875 kB / 3.316 GB, free: 173.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat does not exist to compare? outputFormat=mat