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.005703/0.005703, allocations: 100.5 kB / 15.73 MB, free: 5.996 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.00136/0.00136, allocations: 190.5 kB / 16.67 MB, free: 5.926 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 287.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9561/0.9561, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 99.86 kB / 0.6814 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4606, allocations: 86.97 MB / 0.7664 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.1731/0.6337, allocations: 161.5 MB / 0.9241 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002891/0.6366, allocations: 1.705 MB / 0.9258 GB, free: 96 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.6369, allocations: 11.94 kB / 0.9258 GB, free: 84 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.6375, allocations: 162.9 kB / 0.9259 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.6386, allocations: 0.5095 MB / 0.9264 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009459/0.6395, allocations: 429.8 kB / 0.9268 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006845/0.6402, allocations: 0.5653 MB / 0.9274 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.6406, allocations: 184.4 kB / 0.9276 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005372/0.6412, allocations: 318.8 kB / 0.9279 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.6414, allocations: 151.3 kB / 0.928 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.6414, allocations: 16 kB / 0.928 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009774/0.6424, allocations: 0.6937 MB / 0.9287 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 8.918e-05/0.6425, allocations: 75.78 kB / 0.9288 GB, free: 13 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.6426, allocations: 127.3 kB / 0.9289 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006368/0.6433, allocations: 0.4933 MB / 0.9294 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6433, allocations: 0 / 0.9294 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6433, allocations: 4 kB / 0.9294 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.6433, allocations: 0 / 0.9294 GB, free: 12.38 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.0007163/0.644, allocations: 0.5838 MB / 0.93 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.6441, allocations: 11.97 kB / 0.93 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.6444, allocations: 59.59 kB / 0.93 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.6448, allocations: 297.3 kB / 0.9303 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.6448, allocations: 12 kB / 0.9303 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.6449, allocations: 15.94 kB / 0.9303 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.6452, allocations: 192.7 kB / 0.9305 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6452, allocations: 0 / 0.9305 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.6452, allocations: 7.984 kB / 0.9305 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.6453, allocations: 4 kB / 0.9305 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.6456, allocations: 134.2 kB / 0.9307 GB, free: 10.98 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.0009337/0.6465, allocations: 0.7769 MB / 0.9314 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.6467, allocations: 86.47 kB / 0.9315 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.6469, allocations: 76.88 kB / 0.9316 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.6471, allocations: 186.2 kB / 0.9317 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.6472, allocations: 34.56 kB / 0.9318 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.6472, allocations: 0 / 0.9318 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006101/0.6478, allocations: 225.2 kB / 0.932 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.6478, allocations: 51.41 kB / 0.932 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.6481, allocations: 267 kB / 0.9323 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.6481, allocations: 33.7 kB / 0.9323 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.6482, allocations: 144 kB / 0.9325 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.6482, allocations: 35.45 kB / 0.9325 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.6483, allocations: 37.64 kB / 0.9325 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6484, allocations: 334.8 kB / 0.9329 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.6485, allocations: 44.77 kB / 0.9329 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.6487, allocations: 101.4 kB / 0.933 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.649, allocations: 119.3 kB / 0.9331 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.649, allocations: 0 / 0.9331 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003196/0.6493, allocations: 161.3 kB / 0.9333 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.6493, allocations: 8.031 kB / 0.9333 GB, free: 8.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6493, allocations: 4 kB / 0.9333 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.6493, allocations: 3.938 kB / 0.9333 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.6495, allocations: 23.92 kB / 0.9333 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6495, allocations: 4.062 kB / 0.9333 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.6496, allocations: 23.92 kB / 0.9333 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.6497, allocations: 4 kB / 0.9333 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001954/0.6499, allocations: 148.1 kB / 0.9335 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001518/0.65, allocations: 93.11 kB / 0.9336 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002201/0.6502, allocations: 115.3 kB / 0.9337 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.6503, allocations: 0 / 0.9337 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003127/0.6506, allocations: 161.2 kB / 0.9338 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.6506, allocations: 10.34 kB / 0.9338 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-06/0.6506, allocations: 0 / 0.9338 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-06/0.6506, allocations: 0 / 0.9338 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.6507, allocations: 27.91 kB / 0.9339 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.6507, allocations: 4 kB / 0.9339 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.6509, allocations: 15.89 kB / 0.9339 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.6509, allocations: 12.03 kB / 0.9339 GB, free: 7.402 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 9.164e-05/0.651, allocations: 188.7 kB / 0.9341 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.651, allocations: 23.72 kB / 0.9341 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.6514, allocations: 159.6 kB / 0.9342 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6514, allocations: 0 / 0.9342 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6514, allocations: 96 / 0.9342 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6514, allocations: 3.938 kB / 0.9342 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/0.6522, allocations: 0.5941 MB / 0.9348 GB, free: 6.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6522, allocations: 4 kB / 0.9348 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.6523, allocations: 19.98 kB / 0.9349 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.6523, allocations: 4 kB / 0.9349 GB, free: 6.316 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.6524, allocations: 8 kB / 0.9349 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.6524, allocations: 7.875 kB / 0.9349 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6524, allocations: 4 kB / 0.9349 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.6527, allocations: 293.1 kB / 0.9352 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.6528, allocations: 116.8 kB / 0.9353 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.6529, allocations: 8 kB / 0.9353 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.6531, allocations: 11.98 kB / 0.9353 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.6531, allocations: 15.86 kB / 0.9353 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.6531, allocations: 12 kB / 0.9353 GB, free: 5.793 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001646/0.6533, allocations: 197.9 kB / 0.9355 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6533, allocations: 0 / 0.9355 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004097/0.6537, allocations: 91.84 kB / 0.9356 GB, free: 5.516 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000333/0.6541, allocations: 166.1 kB / 0.9357 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.6545, allocations: 167.7 kB / 0.9359 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6545, allocations: 0 / 0.9359 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.6547, allocations: 60.77 kB / 0.936 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.6554, allocations: 129.4 kB / 0.9361 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.656, allocations: 437 kB / 0.9365 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.6563, allocations: 0.7597 MB / 0.9372 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.6565, allocations: 65.83 kB / 0.9373 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.6565, allocations: 19.44 kB / 0.9373 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of SimCode: time 2.1e-07/0.6566, allocations: 0 / 0.9373 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of Templates: time 0.008146/0.6647, allocations: 4.473 MB / 0.9417 GB, free: 15.27 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)