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.001038/0.001038, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001076/0.001076, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002006, allocations: 274.8 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9027/0.9027, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001979, allocations: 99.17 kB / 0.5948 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1635, allocations: 86.97 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.6182/0.7818, allocations: 236.9 MB / 0.9111 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.7935, allocations: 7.112 MB / 0.9181 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.7957, allocations: 47.69 kB / 0.9181 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.7973, allocations: 453.6 kB / 0.9185 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.8007, allocations: 1.23 MB / 0.9197 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003728/0.8045, allocations: 1.479 MB / 0.9212 GB, free: 440 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002707/0.8072, allocations: 1.952 MB / 0.9231 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.8082, allocations: 0.7744 MB / 0.9238 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/0.8112, allocations: 1.405 MB / 0.9252 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008662/0.8121, allocations: 0.7043 MB / 0.9259 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.8122, allocations: 72 kB / 0.926 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/0.8157, allocations: 1.539 MB / 0.9275 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004211/0.8161, allocations: 295.1 kB / 0.9278 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006848/0.8168, allocations: 481.7 kB / 0.9282 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003325/0.8202, allocations: 1.729 MB / 0.9299 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8202, allocations: 4 kB / 0.9299 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8202, allocations: 0 / 0.9299 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.8202, allocations: 0 / 0.9299 GB, free: 7.457 MB / 0.6387 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.002188/0.8224, allocations: 1.273 MB / 0.9312 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.8224, allocations: 8.031 kB / 0.9312 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.8226, allocations: 90.52 kB / 0.9312 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.8243, allocations: 278.6 kB / 0.9315 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.8253, allocations: 0.6555 MB / 0.9322 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.8253, allocations: 37 kB / 0.9322 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.402e-05/0.8254, allocations: 57.59 kB / 0.9322 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.8265, allocations: 0.5998 MB / 0.9328 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.8266, allocations: 0 / 0.9328 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-05/0.8266, allocations: 20 kB / 0.9328 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.8267, allocations: 12 kB / 0.9329 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.8278, allocations: 0.6051 MB / 0.9334 GB, free: 3.723 MB / 0.6387 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.003739/0.8315, allocations: 2.872 MB / 0.9363 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.8322, allocations: 395.3 kB / 0.9366 GB, free: 208 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/0.8327, allocations: 281.9 kB / 0.9369 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006863/0.8334, allocations: 396.7 kB / 0.9373 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.8334, allocations: 38.89 kB / 0.9373 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007225/0.8342, allocations: 167.4 kB / 0.9375 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.014e-06/0.8342, allocations: 0 / 0.9375 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.001773/0.836, allocations: 0.8171 MB / 0.9383 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.836, allocations: 59.34 kB / 0.9383 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.8368, allocations: 0.6924 MB / 0.939 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.8369, allocations: 37.69 kB / 0.939 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.8371, allocations: 360.4 kB / 0.9394 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.8372, allocations: 137.9 kB / 0.9395 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.8374, allocations: 101.9 kB / 0.9396 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.8375, allocations: 322 kB / 0.9399 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.8379, allocations: 212.6 kB / 0.9401 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004832/0.8384, allocations: 292.8 kB / 0.9404 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009064/0.8394, allocations: 0.4965 MB / 0.9409 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8394, allocations: 0 / 0.9409 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001076/0.8404, allocations: 0.6208 MB / 0.9415 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8405, allocations: 4 kB / 0.9415 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8405, allocations: 2.375 kB / 0.9415 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.8405, allocations: 4.156 kB / 0.9415 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.8411, allocations: 107.8 kB / 0.9416 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.8411, allocations: 7.938 kB / 0.9416 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.8417, allocations: 55.94 kB / 0.9417 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.8418, allocations: 23.98 kB / 0.9417 GB, free: 10.83 MB / 0.6544 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.0002631/0.842, allocations: 214.3 kB / 0.9419 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.8422, allocations: 82.95 kB / 0.942 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.8434, allocations: 0.6513 MB / 0.9426 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.8435, allocations: 4 kB / 0.9426 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.8435, allocations: 7.922 kB / 0.9426 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.8435, allocations: 0 / 0.9426 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.8457, allocations: 1.514 MB / 0.9441 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.8458, allocations: 4 kB / 0.9441 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.8462, allocations: 91.81 kB / 0.9442 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.8463, allocations: 4 kB / 0.9442 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.8463, allocations: 15.94 kB / 0.9442 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.8463, allocations: 8 kB / 0.9442 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8463, allocations: 8.344 kB / 0.9442 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.8479, allocations: 1.06 MB / 0.9453 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.8481, allocations: 192.1 kB / 0.9454 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.8482, allocations: 15.81 kB / 0.9455 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.8488, allocations: 55.8 kB / 0.9455 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.8489, allocations: 39.89 kB / 0.9455 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.8489, allocations: 12 kB / 0.9456 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005775/0.8495, allocations: 499 kB / 0.946 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8495, allocations: 0 / 0.946 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006317/0.8502, allocations: 195.8 kB / 0.9462 GB, free: 6.004 MB / 0.6544 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.002196/0.8524, allocations: 1.711 MB / 0.9479 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.8535, allocations: 0.5233 MB / 0.9484 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8535, allocations: 0 / 0.9484 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.854, allocations: 284.7 kB / 0.9487 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.856, allocations: 466.9 kB / 0.9491 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.8687, allocations: 6.909 MB / 0.9559 GB, free: 11.85 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.8692, allocations: 0.9535 MB / 0.9568 GB, free: 10.87 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008039/0.87, allocations: 182.4 kB / 0.957 GB, free: 10.68 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.8705, allocations: 287.3 kB / 0.9572 GB, free: 10.4 MB / 0.67 GB Notification: Performance of SimCode: time 9.22e-07/0.8705, allocations: 0 / 0.9572 GB, free: 10.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2381/1.109, allocations: 22.59 MB / 0.9793 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003751/1.109, allocations: 291.1 kB / 0.9796 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.587, allocations: 4.062 kB / 0.9796 GB, free: 3.945 MB / 0.6856 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)