Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 108.5 kB / 16.41 MB, free: 6.449 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.002073/0.002073, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002432/0.002432, allocations: 291 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9984/0.9984, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00336/0.00336, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5187/0.5221, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.1832/0.7054, allocations: 161.5 MB / 0.9248 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003161/0.7086, allocations: 1.713 MB / 0.9264 GB, free: 56 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004797/0.7091, allocations: 7.938 kB / 0.9264 GB, free: 48 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006457/0.7098, allocations: 167 kB / 0.9266 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.7113, allocations: 0.5329 MB / 0.9271 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.7126, allocations: 426.4 kB / 0.9275 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008975/0.7135, allocations: 0.5692 MB / 0.9281 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003624/0.7138, allocations: 180.5 kB / 0.9283 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007215/0.7146, allocations: 330.7 kB / 0.9286 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.7148, allocations: 147.3 kB / 0.9287 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.7149, allocations: 12 kB / 0.9287 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.7162, allocations: 0.7054 MB / 0.9294 GB, free: 13 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.7163, allocations: 79.77 kB / 0.9295 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.7165, allocations: 115.4 kB / 0.9296 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009422/0.7174, allocations: 0.5011 MB / 0.9301 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7174, allocations: 0 / 0.9301 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7174, allocations: 0 / 0.9301 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.7174, allocations: 0 / 0.9301 GB, free: 12.31 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009201/0.7184, allocations: 0.5838 MB / 0.9307 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.7184, allocations: 8.031 kB / 0.9307 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/0.7188, allocations: 59.59 kB / 0.9307 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.7193, allocations: 301.3 kB / 0.931 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.7193, allocations: 15.98 kB / 0.931 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.7194, allocations: 16 kB / 0.931 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.7198, allocations: 196.6 kB / 0.9312 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.7198, allocations: 0 / 0.9312 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.7198, allocations: 8 kB / 0.9312 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.7199, allocations: 4 kB / 0.9312 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.7202, allocations: 130.2 kB / 0.9314 GB, free: 10.9 MB / 0.7012 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.001118/0.7213, allocations: 0.7731 MB / 0.9321 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.7216, allocations: 90.47 kB / 0.9322 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.7218, allocations: 76.86 kB / 0.9323 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/0.7221, allocations: 190.2 kB / 0.9325 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.7221, allocations: 34.55 kB / 0.9325 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.7221, allocations: 4 kB / 0.9325 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0007353/0.7229, allocations: 217.2 kB / 0.9327 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.7229, allocations: 55.41 kB / 0.9328 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.7232, allocations: 267 kB / 0.933 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.7232, allocations: 25.7 kB / 0.933 GB, free: 9.031 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.7234, allocations: 148 kB / 0.9332 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.7234, allocations: 35.45 kB / 0.9332 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.7235, allocations: 29.72 kB / 0.9332 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7236, allocations: 330.8 kB / 0.9336 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.7238, allocations: 48.83 kB / 0.9336 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.724, allocations: 97.03 kB / 0.9337 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.7242, allocations: 119.3 kB / 0.9338 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7242, allocations: 3.938 kB / 0.9338 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003629/0.7246, allocations: 165.3 kB / 0.934 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.7246, allocations: 8 kB / 0.934 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.7247, allocations: 0 / 0.934 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.7247, allocations: 3.938 kB / 0.934 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.7248, allocations: 23.98 kB / 0.934 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7248, allocations: 3.938 kB / 0.934 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.725, allocations: 20.47 kB / 0.934 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.7251, allocations: 8 kB / 0.934 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000205/0.7253, allocations: 148.1 kB / 0.9342 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001619/0.7255, allocations: 93.05 kB / 0.9343 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002519/0.7257, allocations: 123.3 kB / 0.9344 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.7257, allocations: 0 / 0.9344 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003319/0.7261, allocations: 157.3 kB / 0.9345 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.7261, allocations: 4 kB / 0.9345 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.7261, allocations: 0 / 0.9345 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-06/0.7261, allocations: 4 kB / 0.9345 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.7262, allocations: 28.05 kB / 0.9346 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.7262, allocations: 3.938 kB / 0.9346 GB, free: 7.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.7264, allocations: 19.92 kB / 0.9346 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.7265, allocations: 4 kB / 0.9346 GB, free: 7.336 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001017/0.7266, allocations: 184.8 kB / 0.9348 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.7266, allocations: 24 kB / 0.9348 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.727, allocations: 159.3 kB / 0.9349 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.727, allocations: 11.91 kB / 0.935 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.727, allocations: 4 kB / 0.935 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.7272, allocations: 104.9 kB / 0.9351 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.7272, allocations: 8 kB / 0.9351 GB, free: 6.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.7274, allocations: 7.984 kB / 0.9351 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.7274, allocations: 7.984 kB / 0.9351 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003803/0.7278, allocations: 212.8 kB / 0.9353 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003796/0.7282, allocations: 330.7 kB / 0.9356 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001405/0.7284, allocations: 47.95 kB / 0.9356 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001802/0.7286, allocations: 197.9 kB / 0.9358 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of Backend: time 2.936e-06/0.7286, allocations: 0 / 0.9358 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.7298, allocations: 350.5 kB / 0.9362 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of SimCode: time 0.001191/0.731, allocations: 0.9139 MB / 0.9371 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of Templates: time 0.01136/0.7424, allocations: 5.904 MB / 0.9428 GB, free: 14.88 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)