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.004651/0.004651, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.00109/0.00109, allocations: 190.6 kB / 16.67 MB, free: 6.379 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 282.6 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9683/0.9683, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 92.27 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1636, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.5696/0.7333, allocations: 239.8 MB / 1 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.7439, allocations: 7.159 MB / 1.007 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.7453, allocations: 51.69 kB / 1.007 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.7467, allocations: 0.5084 MB / 1.008 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.7498, allocations: 1.305 MB / 1.009 GB, free: 9.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.7539, allocations: 1.607 MB / 1.01 GB, free: 8.266 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002659/0.7565, allocations: 1.943 MB / 1.012 GB, free: 6.316 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.7577, allocations: 0.8011 MB / 1.013 GB, free: 5.5 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.7605, allocations: 1.428 MB / 1.015 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009077/0.7614, allocations: 0.6654 MB / 1.015 GB, free: 3.398 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.7616, allocations: 72 kB / 1.015 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.7641, allocations: 1.477 MB / 1.017 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.7644, allocations: 291.2 kB / 1.017 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005532/0.765, allocations: 481.7 kB / 1.017 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.7675, allocations: 1.644 MB / 1.019 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7675, allocations: 0 / 1.019 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7675, allocations: 0 / 1.019 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.7675, allocations: 0 / 1.019 GB, free: 15.44 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.00216/0.7697, allocations: 1.265 MB / 1.02 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.7697, allocations: 8.031 kB / 1.02 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.7699, allocations: 90.52 kB / 1.02 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.7716, allocations: 278.6 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.7727, allocations: 0.7023 MB / 1.021 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.7727, allocations: 37 kB / 1.021 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.7728, allocations: 55.94 kB / 1.021 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.7739, allocations: 0.5959 MB / 1.022 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.7739, allocations: 0 / 1.022 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.774, allocations: 19.94 kB / 1.022 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.774, allocations: 12 kB / 1.022 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.7752, allocations: 0.6129 MB / 1.023 GB, free: 11.67 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.003785/0.7789, allocations: 2.868 MB / 1.025 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.7796, allocations: 400 kB / 1.026 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.7801, allocations: 273.3 kB / 1.026 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006795/0.7808, allocations: 404.6 kB / 1.026 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.7808, allocations: 38.89 kB / 1.027 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005168/0.7813, allocations: 111.5 kB / 1.027 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 2.024e-06/0.7813, allocations: 0 / 1.027 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.001753/0.7831, allocations: 0.8251 MB / 1.027 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.7831, allocations: 59.34 kB / 1.027 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007883/0.7839, allocations: 0.6924 MB / 1.028 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.784, allocations: 33.7 kB / 1.028 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.7843, allocations: 364.4 kB / 1.029 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.7844, allocations: 137.9 kB / 1.029 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.7845, allocations: 94.03 kB / 1.029 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7847, allocations: 322 kB / 1.029 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.7851, allocations: 200.6 kB / 1.029 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.7857, allocations: 301 kB / 1.03 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000976/0.7866, allocations: 0.4967 MB / 1.03 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7867, allocations: 0 / 1.03 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001321/0.788, allocations: 0.6136 MB / 1.031 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.788, allocations: 8.156 kB / 1.031 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.788, allocations: 6.5 kB / 1.031 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.7881, allocations: 4 kB / 1.031 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/0.7886, allocations: 107.8 kB / 1.031 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.7886, allocations: 3.938 kB / 1.031 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.7892, allocations: 31.97 kB / 1.031 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.7893, allocations: 23.97 kB / 1.031 GB, free: 2.863 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.0003072/0.7896, allocations: 221.7 kB / 1.031 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.7897, allocations: 82.97 kB / 1.031 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.791, allocations: 0.6338 MB / 1.032 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.791, allocations: 4 kB / 1.032 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.791, allocations: 7.938 kB / 1.032 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.791, allocations: 3.984 kB / 1.032 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.7934, allocations: 1.527 MB / 1.033 GB, free: 280 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7934, allocations: 4 kB / 1.033 GB, free: 276 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.7939, allocations: 84.3 kB / 1.033 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.7939, allocations: 8 kB / 1.033 GB, free: 184 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.794, allocations: 12 kB / 1.033 GB, free: 172 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/0.794, allocations: 11.92 kB / 1.033 GB, free: 160 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.794, allocations: 7.562 kB / 1.033 GB, free: 156 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.7957, allocations: 1.053 MB / 1.034 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.7959, allocations: 192.1 kB / 1.035 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.7961, allocations: 16 kB / 1.035 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.7966, allocations: 27.97 kB / 1.035 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.549e-05/0.7967, allocations: 39.83 kB / 1.035 GB, free: 14.76 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.7967, allocations: 16 kB / 1.035 GB, free: 14.74 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006494/0.7974, allocations: 0.4912 MB / 1.035 GB, free: 14.25 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7974, allocations: 0 / 1.035 GB, free: 14.25 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006473/0.798, allocations: 195.7 kB / 1.035 GB, free: 14.06 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.002107/0.8001, allocations: 1.693 MB / 1.037 GB, free: 12.31 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.8012, allocations: 0.5192 MB / 1.037 GB, free: 11.79 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8012, allocations: 0 / 1.037 GB, free: 11.79 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.8016, allocations: 277 kB / 1.038 GB, free: 11.52 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.8035, allocations: 466.7 kB / 1.038 GB, free: 11.09 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.8146, allocations: 6.43 MB / 1.044 GB, free: 4.41 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.8151, allocations: 0.9574 MB / 1.045 GB, free: 3.426 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006264/0.8157, allocations: 178.4 kB / 1.046 GB, free: 3.246 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.8162, allocations: 287.3 kB / 1.046 GB, free: 2.965 MB / 0.795 GB Notification: Performance of SimCode: time 5.71e-07/0.8162, allocations: 3.938 kB / 1.046 GB, free: 2.961 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04876/0.8649, allocations: 23.45 MB / 1.069 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.788/9.653, allocations: 4.391 kB / 1.069 GB, free: 12 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)