Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004984/0.004984, allocations: 99.73 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 192.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00262/0.00262, allocations: 282.8 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.035/1.035, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002681/0.002681, allocations: 96.31 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.165, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.5656/0.7307, allocations: 239.9 MB / 1 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.7427, allocations: 7.153 MB / 1.007 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.7444, allocations: 55.62 kB / 1.007 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.746, allocations: 0.5045 MB / 1.008 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003518/0.7496, allocations: 1.304 MB / 1.009 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.7535, allocations: 1.612 MB / 1.011 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002817/0.7563, allocations: 1.94 MB / 1.012 GB, free: 6.426 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.7575, allocations: 0.7972 MB / 1.013 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.7603, allocations: 1.409 MB / 1.015 GB, free: 4.199 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008745/0.7612, allocations: 0.6692 MB / 1.015 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.7613, allocations: 72 kB / 1.015 GB, free: 3.457 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.7641, allocations: 1.477 MB / 1.017 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.7644, allocations: 299.1 kB / 1.017 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005022/0.7649, allocations: 477.7 kB / 1.017 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.7673, allocations: 1.647 MB / 1.019 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.7673, allocations: 0 / 1.019 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7673, allocations: 0 / 1.019 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.7673, allocations: 0 / 1.019 GB, free: 15.56 MB / 0.7794 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.002244/0.7695, allocations: 1.295 MB / 1.02 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.7696, allocations: 8.031 kB / 1.02 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.7697, allocations: 94.52 kB / 1.02 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.7714, allocations: 283.1 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.7726, allocations: 0.703 MB / 1.021 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.7726, allocations: 45 kB / 1.021 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.7727, allocations: 52.48 kB / 1.021 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.7738, allocations: 0.592 MB / 1.022 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.7738, allocations: 0 / 1.022 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/0.7739, allocations: 24 kB / 1.022 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.7739, allocations: 15.94 kB / 1.022 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.7751, allocations: 0.605 MB / 1.023 GB, free: 11.75 MB / 0.7794 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.004082/0.7792, allocations: 2.885 MB / 1.026 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.7799, allocations: 395.9 kB / 1.026 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.7803, allocations: 277.3 kB / 1.026 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006949/0.781, allocations: 400.7 kB / 1.027 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.7811, allocations: 38.89 kB / 1.027 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005963/0.7817, allocations: 103.7 kB / 1.027 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 2.414e-06/0.7817, allocations: 3.938 kB / 1.027 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.001844/0.7836, allocations: 0.8256 MB / 1.027 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.7836, allocations: 63.33 kB / 1.028 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009014/0.7845, allocations: 0.6924 MB / 1.028 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.7846, allocations: 41.64 kB / 1.028 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.7849, allocations: 364.7 kB / 1.029 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.7851, allocations: 138.8 kB / 1.029 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.7852, allocations: 98.02 kB / 1.029 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7854, allocations: 318 kB / 1.029 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.7858, allocations: 208.6 kB / 1.029 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.7863, allocations: 299.1 kB / 1.03 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009539/0.7873, allocations: 0.4928 MB / 1.03 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.7873, allocations: 0 / 1.03 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001181/0.7885, allocations: 0.618 MB / 1.031 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.7885, allocations: 11.98 kB / 1.031 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7885, allocations: 0 / 1.031 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.7885, allocations: 4 kB / 1.031 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.7891, allocations: 103.8 kB / 1.031 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7891, allocations: 7.938 kB / 1.031 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/0.7896, allocations: 36.08 kB / 1.031 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.7897, allocations: 19.98 kB / 1.031 GB, free: 2.918 MB / 0.7794 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000285/0.79, allocations: 213.8 kB / 1.031 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.7901, allocations: 87.47 kB / 1.031 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.7914, allocations: 0.6479 MB / 1.032 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.7914, allocations: 4 kB / 1.032 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7915, allocations: 7.938 kB / 1.032 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7915, allocations: 3.984 kB / 1.032 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.7939, allocations: 1.508 MB / 1.033 GB, free: 348 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.7939, allocations: 12 kB / 1.033 GB, free: 336 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.7944, allocations: 91.81 kB / 1.033 GB, free: 244 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.7944, allocations: 4 kB / 1.033 GB, free: 240 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.7945, allocations: 12 kB / 1.033 GB, free: 228 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.7945, allocations: 7.562 kB / 1.033 GB, free: 224 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.7945, allocations: 7.938 kB / 1.033 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.7961, allocations: 1.062 MB / 1.034 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.7964, allocations: 196.6 kB / 1.035 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.444e-05/0.7965, allocations: 20 kB / 1.035 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/0.797, allocations: 27.97 kB / 1.035 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.7971, allocations: 35.89 kB / 1.035 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.7972, allocations: 16 kB / 1.035 GB, free: 14.79 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000612/0.7978, allocations: 0.4912 MB / 1.035 GB, free: 14.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7978, allocations: 0 / 1.035 GB, free: 14.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007261/0.7985, allocations: 195.8 kB / 1.035 GB, free: 14.11 MB / 0.795 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00226/0.8008, allocations: 1.709 MB / 1.037 GB, free: 12.35 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009972/0.8018, allocations: 0.5117 MB / 1.038 GB, free: 11.84 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8018, allocations: 4.062 kB / 1.038 GB, free: 11.83 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005132/0.8023, allocations: 276.1 kB / 1.038 GB, free: 11.56 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.8043, allocations: 466.7 kB / 1.038 GB, free: 11.12 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.8164, allocations: 6.45 MB / 1.045 GB, free: 4.426 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.817, allocations: 0.9652 MB / 1.046 GB, free: 3.434 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006217/0.8177, allocations: 162.4 kB / 1.046 GB, free: 3.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.8181, allocations: 287.3 kB / 1.046 GB, free: 2.988 MB / 0.795 GB Notification: Performance of SimCode: time 5.81e-07/0.8181, allocations: 3.938 kB / 1.046 GB, free: 2.984 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05468/0.8728, allocations: 23.06 MB / 1.068 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.484/10.36, allocations: 10.45 kB / 1.068 GB, free: 12.41 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)