Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001177/0.001177, allocations: 180.9 kB / 487.4 MB, free: 5.035 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.558/1.558, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 100.4 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.968e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2392, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.078/5.317, allocations: 1.928 GB / 3.134 GB, free: 352 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/5.318, allocations: 92.05 kB / 3.134 GB, free: 352 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.075/7.393, allocations: 0.7889 GB / 3.923 GB, free: 24.18 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.355e-06/7.393, allocations: 4 kB / 3.923 GB, free: 24.18 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.948e-05/7.393, allocations: 20 kB / 3.923 GB, free: 24.16 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002283/7.395, allocations: 1.199 MB / 3.924 GB, free: 22.91 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/7.395, allocations: 19.97 kB / 3.924 GB, free: 22.89 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/7.397, allocations: 274.6 kB / 3.924 GB, free: 22.62 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/7.398, allocations: 0.7459 MB / 3.925 GB, free: 21.83 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/7.398, allocations: 16 kB / 3.925 GB, free: 21.82 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/7.399, allocations: 35.91 kB / 3.925 GB, free: 21.78 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007073/7.399, allocations: 0.518 MB / 3.926 GB, free: 21.26 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/7.4, allocations: 0.492 MB / 3.926 GB, free: 20.77 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/7.4, allocations: 7.938 kB / 3.926 GB, free: 20.76 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/7.4, allocations: 4 kB / 3.926 GB, free: 20.75 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/7.4, allocations: 12 kB / 3.926 GB, free: 20.74 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.003065/7.403, allocations: 2.787 MB / 3.929 GB, free: 17.71 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/7.404, allocations: 355.6 kB / 3.929 GB, free: 17.36 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/7.404, allocations: 245.4 kB / 3.929 GB, free: 17.12 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005167/7.404, allocations: 404.7 kB / 3.93 GB, free: 16.65 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/7.404, allocations: 42.83 kB / 3.93 GB, free: 16.6 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007676/7.405, allocations: 247.5 kB / 3.93 GB, free: 16.36 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 2.414e-06/7.405, allocations: 0 / 3.93 GB, free: 16.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=39): time 0.001193/7.406, allocations: 0.5925 MB / 3.931 GB, free: 15.76 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/7.406, allocations: 55.41 kB / 3.931 GB, free: 15.69 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/7.407, allocations: 451.7 kB / 3.931 GB, free: 15.24 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/7.407, allocations: 25.7 kB / 3.931 GB, free: 15.21 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/7.407, allocations: 368.5 kB / 3.932 GB, free: 14.85 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.476e-05/7.407, allocations: 134 kB / 3.932 GB, free: 14.71 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/7.407, allocations: 4 kB / 3.932 GB, free: 14.71 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/7.407, allocations: 382.7 kB / 3.932 GB, free: 14.33 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/7.407, allocations: 172.7 kB / 3.932 GB, free: 14.16 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/7.408, allocations: 292.7 kB / 3.933 GB, free: 13.83 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/7.408, allocations: 268.2 kB / 3.933 GB, free: 13.57 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/7.408, allocations: 4 kB / 3.933 GB, free: 13.56 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008433/7.409, allocations: 0.5859 MB / 3.933 GB, free: 12.97 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/7.409, allocations: 9.719 kB / 3.933 GB, free: 12.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/7.409, allocations: 0 / 3.933 GB, free: 12.96 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/7.409, allocations: 4 kB / 3.933 GB, free: 12.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/7.41, allocations: 103.9 kB / 3.933 GB, free: 12.86 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/7.41, allocations: 4 kB / 3.933 GB, free: 12.85 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/7.41, allocations: 52.03 kB / 3.934 GB, free: 12.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/7.41, allocations: 27.97 kB / 3.934 GB, free: 12.77 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001016/7.41, allocations: 124.8 kB / 3.934 GB, free: 12.64 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000803/7.411, allocations: 0.5598 MB / 3.934 GB, free: 12.08 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/7.411, allocations: 71.16 kB / 3.934 GB, free: 12.01 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/7.412, allocations: 0.6095 MB / 3.935 GB, free: 11.39 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/7.412, allocations: 11.97 kB / 3.935 GB, free: 11.38 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/7.412, allocations: 0 / 3.935 GB, free: 11.38 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/7.412, allocations: 4 kB / 3.935 GB, free: 11.37 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/7.414, allocations: 1.412 MB / 3.936 GB, free: 9.875 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/7.414, allocations: 4 kB / 3.936 GB, free: 9.871 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/7.415, allocations: 91.83 kB / 3.936 GB, free: 9.781 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/7.415, allocations: 8 kB / 3.936 GB, free: 9.773 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/7.415, allocations: 4.406 kB / 3.936 GB, free: 9.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/7.415, allocations: 8 kB / 3.936 GB, free: 9.762 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/7.415, allocations: 7.984 kB / 3.936 GB, free: 9.754 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/7.416, allocations: 1.122 MB / 3.937 GB, free: 8.496 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/7.416, allocations: 180.2 kB / 3.938 GB, free: 8.301 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.208e-05/7.416, allocations: 4 kB / 3.938 GB, free: 8.297 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/7.417, allocations: 55.78 kB / 3.938 GB, free: 8.242 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/7.417, allocations: 43.84 kB / 3.938 GB, free: 8.199 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/7.417, allocations: 16 kB / 3.938 GB, free: 8.184 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002894/7.417, allocations: 363.2 kB / 3.938 GB, free: 7.836 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/7.417, allocations: 4 kB / 3.938 GB, free: 7.832 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001044/7.418, allocations: 335.6 kB / 3.938 GB, free: 7.504 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.004309/7.422, allocations: 4.805 MB / 3.943 GB, free: 2.449 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006268/7.423, allocations: 427.7 kB / 3.944 GB, free: 2.031 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/7.423, allocations: 0 / 3.944 GB, free: 2.031 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/7.423, allocations: 224.5 kB / 3.944 GB, free: 1.812 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/7.425, allocations: 394.1 kB / 3.944 GB, free: 1.43 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6549/8.08, allocations: 1.584 MB / 3.946 GB, free: 230 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006/8.081, allocations: 0.9765 MB / 3.947 GB, free: 229.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009572/8.082, allocations: 156.2 kB / 3.947 GB, free: 229.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/8.082, allocations: 278 kB / 3.947 GB, free: 229.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.412e-06/8.082, allocations: 0.7188 kB / 3.947 GB, free: 229.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08167/8.164, allocations: 33.67 MB / 3.98 GB, free: 228.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/8.164, allocations: 204.4 kB / 3.98 GB, free: 228.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/11.19, allocations: 0 / 3.98 GB, free: 228.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat does not exist to compare? outputFormat=mat