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.0008649/0.000865, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005226/0.005226, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001719, allocations: 274.5 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004068, allocations: 12.75 kB / 0.5988 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1545, allocations: 88.54 MB / 0.6852 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.5875/0.742, allocations: 234.5 MB / 0.9143 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.7536, allocations: 7.146 MB / 0.9212 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.7556, allocations: 43.69 kB / 0.9213 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.757, allocations: 429.6 kB / 0.9217 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.7602, allocations: 1.233 MB / 0.9229 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.764, allocations: 1.477 MB / 0.9243 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003359/0.7674, allocations: 2.7 MB / 0.927 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.7684, allocations: 0.6798 MB / 0.9276 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/0.7715, allocations: 1.28 MB / 0.9289 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009776/0.7725, allocations: 0.6652 MB / 0.9295 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.59e-05/0.7726, allocations: 44 kB / 0.9296 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.7758, allocations: 1.753 MB / 0.9313 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.7761, allocations: 263.1 kB / 0.9315 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.7766, allocations: 463.4 kB / 0.932 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.779, allocations: 1.682 MB / 0.9336 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.779, allocations: 0 / 0.9336 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.216e-06/0.779, allocations: 0 / 0.9336 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.779, allocations: 0 / 0.9336 GB, free: 1.234 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.001998/0.781, allocations: 1.11 MB / 0.9347 GB, free: 76 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7811, allocations: 8.031 kB / 0.9347 GB, free: 68 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.7812, allocations: 94.53 kB / 0.9348 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.7828, allocations: 278.5 kB / 0.9351 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/0.7838, allocations: 0.6594 MB / 0.9357 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.7838, allocations: 37 kB / 0.9358 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/0.7839, allocations: 52 kB / 0.9358 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.785, allocations: 0.6037 MB / 0.9364 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.785, allocations: 0 / 0.9364 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/0.7851, allocations: 27.98 kB / 0.9364 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.7851, allocations: 8 kB / 0.9364 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.7862, allocations: 0.6285 MB / 0.937 GB, free: 13.63 MB / 0.6544 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.003572/0.7898, allocations: 2.892 MB / 0.9399 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/0.7905, allocations: 404 kB / 0.9403 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004701/0.7909, allocations: 293.2 kB / 0.9405 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006655/0.7916, allocations: 416.6 kB / 0.9409 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.7917, allocations: 38.89 kB / 0.941 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006392/0.7923, allocations: 195.4 kB / 0.9412 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 1.823e-06/0.7923, allocations: 0 / 0.9412 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.001706/0.794, allocations: 0.8214 MB / 0.942 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7941, allocations: 63.34 kB / 0.942 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007846/0.7949, allocations: 0.7001 MB / 0.9427 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.7949, allocations: 33.7 kB / 0.9427 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.7952, allocations: 356.4 kB / 0.9431 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.7953, allocations: 141.9 kB / 0.9432 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.7954, allocations: 37.7 kB / 0.9432 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7955, allocations: 326 kB / 0.9436 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.7959, allocations: 212.5 kB / 0.9438 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.7964, allocations: 304.8 kB / 0.944 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008733/0.7973, allocations: 0.5043 MB / 0.9445 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7973, allocations: 0 / 0.9445 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001096/0.7984, allocations: 0.6208 MB / 0.9451 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.7984, allocations: 4 kB / 0.9451 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.7984, allocations: 0 / 0.9451 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7984, allocations: 4.156 kB / 0.9452 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.799, allocations: 111.8 kB / 0.9453 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.799, allocations: 7.938 kB / 0.9453 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.7996, allocations: 63.84 kB / 0.9453 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.7997, allocations: 23.98 kB / 0.9454 GB, free: 4.668 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.0002652/0.8, allocations: 218.4 kB / 0.9456 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.8001, allocations: 83.06 kB / 0.9456 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.8013, allocations: 0.6454 MB / 0.9463 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.8014, allocations: 7.984 kB / 0.9463 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8014, allocations: 3.938 kB / 0.9463 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8014, allocations: 0 / 0.9463 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.8036, allocations: 1.514 MB / 0.9478 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.8036, allocations: 4.406 kB / 0.9478 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.8041, allocations: 99.81 kB / 0.9479 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.8041, allocations: 11.98 kB / 0.9479 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.8041, allocations: 8 kB / 0.9479 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.8042, allocations: 8 kB / 0.9479 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8042, allocations: 0 / 0.9479 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.8057, allocations: 1.065 MB / 0.9489 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.806, allocations: 192.1 kB / 0.9491 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-05/0.8061, allocations: 19.92 kB / 0.9491 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/0.8067, allocations: 55.89 kB / 0.9492 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.8068, allocations: 43.89 kB / 0.9492 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.8068, allocations: 16 kB / 0.9492 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005824/0.8074, allocations: 499 kB / 0.9497 GB, free: 16 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8074, allocations: 0 / 0.9497 GB, free: 16 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006303/0.808, allocations: 191.8 kB / 0.9499 GB, free: 15.82 MB / 0.67 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.002331/0.8104, allocations: 1.716 MB / 0.9516 GB, free: 14.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.8115, allocations: 0.5034 MB / 0.9521 GB, free: 13.55 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8115, allocations: 0 / 0.9521 GB, free: 13.55 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.8121, allocations: 285.3 kB / 0.9523 GB, free: 13.27 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/0.815, allocations: 0.4921 MB / 0.9528 GB, free: 12.79 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.8281, allocations: 6.942 MB / 0.9596 GB, free: 5.613 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.8287, allocations: 0.969 MB / 0.9605 GB, free: 4.617 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008575/0.8296, allocations: 179 kB / 0.9607 GB, free: 4.438 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/0.83, allocations: 283.3 kB / 0.961 GB, free: 4.16 MB / 0.67 GB Notification: Performance of SimCode: time 1.312e-06/0.83, allocations: 0 / 0.961 GB, free: 4.16 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0404/0.8704, allocations: 21.9 MB / 0.9824 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.8707, allocations: 299.3 kB / 0.9827 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/3, allocations: 0 / 0.9827 GB, free: 14.37 MB / 0.7012 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)