Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FlowJunctionSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.323/2.323, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001414/0.001414, allocations: 189 kB / 498.1 MB, free: 5.73 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.496/1.496, allocations: 223.1 MB / 0.7948 GB, free: 17.9 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.000916/0.0009159, allocations: 100.2 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.000354, allocations: 12.47 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2599, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.098/4.358, allocations: 1.928 GB / 3.151 GB, free: 85.25 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/4.358, allocations: 97.91 kB / 3.151 GB, free: 85.16 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.018/7.376, allocations: 0.8017 GB / 3.953 GB, free: 183 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.553e-06/7.376, allocations: 0 / 3.953 GB, free: 183 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001373/7.376, allocations: 32.11 kB / 3.953 GB, free: 183 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.004565/7.381, allocations: 1.372 MB / 3.954 GB, free: 181.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/7.381, allocations: 12.03 kB / 3.954 GB, free: 181.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000297/7.381, allocations: 90.52 kB / 3.954 GB, free: 181.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/7.383, allocations: 274.6 kB / 3.954 GB, free: 181.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/7.386, allocations: 0.7719 MB / 3.955 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/7.386, allocations: 41 kB / 3.955 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/7.386, allocations: 55.91 kB / 3.955 GB, free: 180.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/7.387, allocations: 0.6153 MB / 3.956 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/7.387, allocations: 0 / 3.956 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/7.387, allocations: 20 kB / 3.956 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/7.387, allocations: 12 kB / 3.956 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/7.388, allocations: 0.6285 MB / 3.957 GB, free: 179 MB / 1.167 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.004233/7.393, allocations: 2.664 MB / 3.959 GB, free: 176.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009909/7.394, allocations: 0.5319 MB / 3.96 GB, free: 175.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/7.394, allocations: 404.7 kB / 3.96 GB, free: 175.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/7.394, allocations: 34.94 kB / 3.96 GB, free: 175.1 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001104/7.395, allocations: 307.3 kB / 3.96 GB, free: 174.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=45): time 4.408e-06/7.395, allocations: 0 / 3.96 GB, free: 174.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.002554/7.398, allocations: 1.165 MB / 3.961 GB, free: 173.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/7.398, allocations: 55.41 kB / 3.962 GB, free: 173.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007858/7.399, allocations: 0.5702 MB / 3.962 GB, free: 173 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/7.399, allocations: 37.7 kB / 3.962 GB, free: 172.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/7.399, allocations: 345.1 kB / 3.962 GB, free: 172.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/7.399, allocations: 153.7 kB / 3.963 GB, free: 172.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/7.399, allocations: 8 kB / 3.963 GB, free: 172.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.267e-05/7.399, allocations: 322 kB / 3.963 GB, free: 172.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/7.4, allocations: 260.5 kB / 3.963 GB, free: 171.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/7.4, allocations: 384.5 kB / 3.964 GB, free: 171.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/7.401, allocations: 296.6 kB / 3.964 GB, free: 171.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/7.401, allocations: 3.953 kB / 3.964 GB, free: 171.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001325/7.402, allocations: 0.7534 MB / 3.965 GB, free: 170.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.372e-05/7.402, allocations: 278 kB / 3.965 GB, free: 170.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/7.402, allocations: 3.984 kB / 3.965 GB, free: 170.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/7.402, allocations: 64.83 kB / 3.965 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/7.403, allocations: 99.86 kB / 3.965 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004321/7.403, allocations: 0.6304 MB / 3.966 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008735/7.404, allocations: 71.84 kB / 3.966 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.671e-05/7.404, allocations: 27.97 kB / 3.966 GB, free: 169.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/7.404, allocations: 11.94 kB / 3.966 GB, free: 169.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001138/7.406, allocations: 0.6474 MB / 3.966 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/7.406, allocations: 3.953 kB / 3.966 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/7.406, allocations: 64.75 kB / 3.966 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/7.406, allocations: 103.9 kB / 3.967 GB, free: 168.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/7.408, allocations: 1.725 MB / 3.968 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000839/7.409, allocations: 71.94 kB / 3.968 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/7.409, allocations: 23.97 kB / 3.968 GB, free: 166.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.000467/7.409, allocations: 304.9 kB / 3.969 GB, free: 166.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/7.409, allocations: 75.06 kB / 3.969 GB, free: 166 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/7.411, allocations: 0.8382 MB / 3.969 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/7.411, allocations: 4 kB / 3.969 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/7.411, allocations: 0 / 3.969 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/7.411, allocations: 3.391 kB / 3.969 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/7.414, allocations: 1.727 MB / 3.971 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/7.414, allocations: 4 kB / 3.971 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004858/7.415, allocations: 92.3 kB / 3.971 GB, free: 163.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/7.415, allocations: 68.8 kB / 3.971 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/7.415, allocations: 12 kB / 3.971 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003082/7.415, allocations: 0.5991 MB / 3.972 GB, free: 162.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/7.415, allocations: 4.062 kB / 3.972 GB, free: 162.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/7.417, allocations: 1.344 MB / 3.973 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/7.417, allocations: 208.1 kB / 3.973 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/7.417, allocations: 15.95 kB / 3.973 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/7.418, allocations: 99.81 kB / 3.974 GB, free: 160.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/7.418, allocations: 39.89 kB / 3.974 GB, free: 160.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/7.418, allocations: 20 kB / 3.974 GB, free: 160.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006135/7.419, allocations: 470.9 kB / 3.974 GB, free: 160.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.61e-07/7.419, allocations: 0 / 3.974 GB, free: 160.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00229/7.421, allocations: 0.5932 MB / 3.975 GB, free: 159.6 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0053/7.427, allocations: 4.77 MB / 3.979 GB, free: 154.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002015/7.429, allocations: 1.057 MB / 3.98 GB, free: 153.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/7.429, allocations: 0 / 3.98 GB, free: 153.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005531/7.429, allocations: 315.8 kB / 3.981 GB, free: 153.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/7.432, allocations: 0.5191 MB / 3.981 GB, free: 152.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/7.443, allocations: 5.333 MB / 3.986 GB, free: 147.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/7.444, allocations: 0.9894 MB / 3.987 GB, free: 146.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001066/7.445, allocations: 230 kB / 3.988 GB, free: 146 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/7.445, allocations: 279.3 kB / 3.988 GB, free: 145.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/7.445, allocations: 0 / 3.988 GB, free: 145.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08274/7.528, allocations: 55.01 MB / 4.041 GB, free: 91.14 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/7.528, allocations: 280.9 kB / 4.042 GB, free: 90.77 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.116/11.64, allocations: 0 / 4.042 GB, free: 90.77 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat does not exist to compare? outputFormat=mat