Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.469/2.469, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.00119/0.00119, allocations: 176 kB / 0.4901 GB, free: 2.258 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.541/1.541, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.0009398/0.0009399, allocations: 106.8 kB / 0.9396 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004218, allocations: 9.062 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2931, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.662/4.956, allocations: 1.929 GB / 3.158 GB, free: 3.207 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/4.956, allocations: 92.64 kB / 3.158 GB, free: 3.16 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.3/8.256, allocations: 0.8017 GB / 3.96 GB, free: 106.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.597e-06/8.256, allocations: 0 / 3.96 GB, free: 106.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002137/8.256, allocations: 23.98 kB / 3.96 GB, free: 106.2 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.005013/8.261, allocations: 1.39 MB / 3.961 GB, free: 104.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/8.261, allocations: 8.031 kB / 3.961 GB, free: 104.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003323/8.262, allocations: 86.52 kB / 3.961 GB, free: 104.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/8.264, allocations: 278.6 kB / 3.962 GB, free: 104.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/8.267, allocations: 0.7689 MB / 3.962 GB, free: 103.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-05/8.267, allocations: 37 kB / 3.962 GB, free: 103.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/8.267, allocations: 56 kB / 3.962 GB, free: 103.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/8.268, allocations: 0.6154 MB / 3.963 GB, free: 102.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/8.268, allocations: 0 / 3.963 GB, free: 102.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/8.268, allocations: 20 kB / 3.963 GB, free: 102.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/8.268, allocations: 12 kB / 3.963 GB, free: 102.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/8.27, allocations: 0.6246 MB / 3.964 GB, free: 102.2 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.004737/8.274, allocations: 2.672 MB / 3.966 GB, free: 99.34 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/8.275, allocations: 0.529 MB / 3.967 GB, free: 98.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006297/8.276, allocations: 392.7 kB / 3.967 GB, free: 98.34 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/8.276, allocations: 38.94 kB / 3.967 GB, free: 98.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001208/8.277, allocations: 303.3 kB / 3.967 GB, free: 98 MB / 1.167 GB Notification: Performance of pre-optimization done (n=45): time 7.234e-06/8.277, allocations: 4 kB / 3.967 GB, free: 98 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.002646/8.28, allocations: 1.167 MB / 3.969 GB, free: 96.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/8.28, allocations: 59.39 kB / 3.969 GB, free: 96.73 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008615/8.281, allocations: 0.5624 MB / 3.969 GB, free: 96.16 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.338e-05/8.281, allocations: 41.7 kB / 3.969 GB, free: 96.11 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/8.281, allocations: 356.9 kB / 3.97 GB, free: 95.76 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/8.281, allocations: 157.7 kB / 3.97 GB, free: 95.61 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/8.281, allocations: 4 kB / 3.97 GB, free: 95.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/8.281, allocations: 329.9 kB / 3.97 GB, free: 95.27 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/8.282, allocations: 256.7 kB / 3.97 GB, free: 95.02 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/8.282, allocations: 380.6 kB / 3.971 GB, free: 94.61 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/8.283, allocations: 292.6 kB / 3.971 GB, free: 94.32 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/8.283, allocations: 0 / 3.971 GB, free: 94.32 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001482/8.284, allocations: 0.7612 MB / 3.972 GB, free: 93.55 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/8.285, allocations: 272.8 kB / 3.972 GB, free: 93.27 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/8.285, allocations: 4 kB / 3.972 GB, free: 93.26 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/8.285, allocations: 64.8 kB / 3.972 GB, free: 93.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/8.285, allocations: 99.88 kB / 3.972 GB, free: 93.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005454/8.286, allocations: 0.6304 MB / 3.973 GB, free: 92.44 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009805/8.287, allocations: 71.94 kB / 3.973 GB, free: 92.37 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.824e-05/8.287, allocations: 23.98 kB / 3.973 GB, free: 92.35 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/8.287, allocations: 4 kB / 3.973 GB, free: 92.34 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/8.288, allocations: 0.659 MB / 3.973 GB, free: 91.68 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/8.288, allocations: 4 kB / 3.973 GB, free: 91.68 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/8.288, allocations: 60.81 kB / 3.974 GB, free: 91.61 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/8.289, allocations: 99.89 kB / 3.974 GB, free: 91.52 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/8.291, allocations: 1.733 MB / 3.975 GB, free: 89.65 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009443/8.292, allocations: 72.14 kB / 3.975 GB, free: 89.58 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/8.292, allocations: 23.98 kB / 3.975 GB, free: 89.56 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.0006448/8.292, allocations: 301 kB / 3.976 GB, free: 89.25 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/8.293, allocations: 75.06 kB / 3.976 GB, free: 89.18 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/8.294, allocations: 0.8455 MB / 3.977 GB, free: 88.32 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/8.294, allocations: 8 kB / 3.977 GB, free: 88.32 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/8.294, allocations: 0 / 3.977 GB, free: 88.32 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/8.294, allocations: 3.984 kB / 3.977 GB, free: 88.31 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/8.298, allocations: 1.727 MB / 3.978 GB, free: 86.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/8.298, allocations: 0 / 3.978 GB, free: 86.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/8.298, allocations: 100.2 kB / 3.978 GB, free: 86.38 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/8.298, allocations: 72.73 kB / 3.978 GB, free: 86.31 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/8.298, allocations: 12 kB / 3.978 GB, free: 86.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003751/8.299, allocations: 0.5953 MB / 3.979 GB, free: 85.68 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/8.299, allocations: 7.938 kB / 3.979 GB, free: 85.67 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/8.301, allocations: 1.344 MB / 3.98 GB, free: 84.18 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/8.301, allocations: 208.1 kB / 3.981 GB, free: 83.96 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/8.301, allocations: 8 kB / 3.981 GB, free: 83.95 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009061/8.302, allocations: 91.81 kB / 3.981 GB, free: 83.86 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/8.302, allocations: 47.64 kB / 3.981 GB, free: 83.81 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/8.302, allocations: 16 kB / 3.981 GB, free: 83.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007004/8.303, allocations: 467 kB / 3.981 GB, free: 83.35 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/8.303, allocations: 0 / 3.981 GB, free: 83.35 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002938/8.306, allocations: 0.5971 MB / 3.982 GB, free: 82.75 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.006337/8.312, allocations: 4.772 MB / 3.986 GB, free: 77.73 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002296/8.315, allocations: 1.057 MB / 3.987 GB, free: 76.67 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/8.315, allocations: 0 / 3.987 GB, free: 76.67 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006152/8.315, allocations: 324 kB / 3.988 GB, free: 76.35 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/8.319, allocations: 0.5133 MB / 3.988 GB, free: 75.84 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/8.331, allocations: 5.337 MB / 3.993 GB, free: 70.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/8.332, allocations: 0.9855 MB / 3.994 GB, free: 69.39 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001265/8.333, allocations: 226.1 kB / 3.995 GB, free: 69.16 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/8.334, allocations: 279.3 kB / 3.995 GB, free: 68.89 MB / 1.167 GB Notification: Performance of SimCode: time 1.933e-06/8.334, allocations: 4 kB / 3.995 GB, free: 68.89 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09353/8.427, allocations: 55.01 MB / 4.049 GB, free: 14.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003274/8.428, allocations: 275.5 kB / 4.049 GB, free: 13.95 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.259/12.69, allocations: 0 / 4.049 GB, free: 13.95 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat does not exist to compare? outputFormat=mat