Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.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: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 104.2 kB / 16.41 MB, free: 6.508 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.001299/0.001299, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002412/0.002412, allocations: 286.1 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9719/0.9719, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 99.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.511, allocations: 86.98 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.Pipe): time 0.05072/0.5618, allocations: 46.52 MB / 0.8125 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02355/0.5854, allocations: 11.86 MB / 0.8241 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003195/0.5886, allocations: 67.69 kB / 0.8241 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.5912, allocations: 0.7101 MB / 0.8248 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008549/0.5998, allocations: 2.328 MB / 0.8271 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005668/0.6055, allocations: 1.539 MB / 0.8286 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007817/0.6134, allocations: 4.379 MB / 0.8329 GB, free: 288 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003328/0.6167, allocations: 1.58 MB / 0.8344 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005544/0.6223, allocations: 1.609 MB / 0.836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003008/0.6253, allocations: 1.186 MB / 0.8371 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009416/0.6263, allocations: 152 kB / 0.8373 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/0.6305, allocations: 1.49 MB / 0.8387 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000763/0.6312, allocations: 398.6 kB / 0.8391 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.6333, allocations: 0.871 MB / 0.84 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006389/0.6397, allocations: 2.865 MB / 0.8428 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.6397, allocations: 0 / 0.8428 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6397, allocations: 0 / 0.8428 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001018/0.6398, allocations: 4 kB / 0.8428 GB, free: 6.082 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00738/0.6472, allocations: 2.075 MB / 0.8448 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.6473, allocations: 8.031 kB / 0.8448 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009135/0.6482, allocations: 182.6 kB / 0.845 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005395/0.6536, allocations: 2.06 MB / 0.847 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.6538, allocations: 103.6 kB / 0.8471 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/0.654, allocations: 88 kB / 0.8472 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.6568, allocations: 1.178 MB / 0.8483 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.6568, allocations: 3.906 kB / 0.8483 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.657, allocations: 44 kB / 0.8484 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/0.657, allocations: 27.92 kB / 0.8484 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.6591, allocations: 0.9056 MB / 0.8493 GB, free: 15.25 MB / 0.6231 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.007297/0.6664, allocations: 4.664 MB / 0.8538 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009474/0.6673, allocations: 0.5249 MB / 0.8544 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/0.6679, allocations: 310.4 kB / 0.8546 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008849/0.6688, allocations: 0.9227 MB / 0.8555 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.6688, allocations: 47.06 kB / 0.8556 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=56): time 5.34e-06/0.6688, allocations: 3.984 kB / 0.8556 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56): time 0.001811/0.6706, allocations: 0.8449 MB / 0.8564 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.6707, allocations: 55.97 kB / 0.8565 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.6726, allocations: 1.247 MB / 0.8577 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.964e-05/0.6727, allocations: 41.7 kB / 0.8577 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005226/0.6732, allocations: 0.6102 MB / 0.8583 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.6734, allocations: 193.1 kB / 0.8585 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.6736, allocations: 134.2 kB / 0.8586 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6737, allocations: 330 kB / 0.859 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.6742, allocations: 247.3 kB / 0.8592 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006269/0.6749, allocations: 421.8 kB / 0.8596 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.6759, allocations: 0.6584 MB / 0.8602 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.6759, allocations: 0 / 0.8602 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001582/0.6775, allocations: 0.8094 MB / 0.861 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.6776, allocations: 10.97 kB / 0.861 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.6776, allocations: 4 kB / 0.861 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.6776, allocations: 8 kB / 0.861 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008616/0.6785, allocations: 192.3 kB / 0.8612 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007292/0.6792, allocations: 1.18 MB / 0.8624 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008299/0.68, allocations: 87.33 kB / 0.8625 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/0.6801, allocations: 31.98 kB / 0.8625 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009721/0.6811, allocations: 0.5987 MB / 0.8631 GB, free: 400 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006002/0.6817, allocations: 417.8 kB / 0.8635 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001033/0.6828, allocations: 0.6467 MB / 0.8641 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.368e-06/0.6828, allocations: 4 kB / 0.8641 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001579/0.6844, allocations: 0.7983 MB / 0.8649 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6844, allocations: 12.03 kB / 0.8649 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.6844, allocations: 12.16 kB / 0.8649 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.6844, allocations: 4 kB / 0.8649 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/0.685, allocations: 155.7 kB / 0.8651 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.685, allocations: 11.94 kB / 0.8651 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007901/0.6858, allocations: 59.56 kB / 0.8651 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.408e-05/0.6859, allocations: 31.98 kB / 0.8652 GB, free: 14.12 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002668/0.6862, allocations: 222.9 kB / 0.8654 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.6865, allocations: 134.3 kB / 0.8655 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.6882, allocations: 0.8586 MB / 0.8664 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/0.6892, allocations: 0.6892 MB / 0.867 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6892, allocations: 3.984 kB / 0.867 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.6898, allocations: 291.3 kB / 0.8673 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.69, allocations: 16 kB / 0.8673 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.6908, allocations: 35.95 kB / 0.8674 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.6909, allocations: 36.52 kB / 0.8674 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001761/0.6927, allocations: 0.8243 MB / 0.8682 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002113/0.6948, allocations: 1.311 MB / 0.8695 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005265/0.6953, allocations: 328.3 kB / 0.8698 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001503/0.6968, allocations: 0.8719 MB / 0.8706 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of Backend: time 5.82e-07/0.6969, allocations: 0 / 0.8706 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004263/0.7011, allocations: 1.323 MB / 0.8719 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of SimCode: time 0.007021/0.7082, allocations: 3.488 MB / 0.8753 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of Templates: time 0.05437/0.7626, allocations: 32.03 MB / 0.9066 GB, free: 3.938 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)