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.001197/0.001197, allocations: 105 kB / 16.41 MB, free: 6.465 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.001203/0.001203, allocations: 187 kB / 17.34 MB, free: 5.719 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.379/1.379, 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.00228/0.00228, allocations: 298.6 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.9384/0.9384, allocations: 169.2 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0034/0.0034, allocations: 95.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.6203, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.1627/0.783, allocations: 161.5 MB / 0.9248 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003044/0.7861, allocations: 1.702 MB / 0.9264 GB, free: 88 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004242/0.7866, allocations: 11.94 kB / 0.9264 GB, free: 76 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.7873, allocations: 163 kB / 0.9266 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.7887, allocations: 0.5094 MB / 0.9271 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.7899, allocations: 437.3 kB / 0.9275 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008796/0.7908, allocations: 0.5653 MB / 0.9281 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.7912, allocations: 176.5 kB / 0.9282 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008017/0.792, allocations: 326.7 kB / 0.9285 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.7923, allocations: 151.2 kB / 0.9287 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.7924, allocations: 16 kB / 0.9287 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.7937, allocations: 0.6976 MB / 0.9294 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.7938, allocations: 79.78 kB / 0.9294 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.794, allocations: 111.4 kB / 0.9296 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009888/0.795, allocations: 0.5011 MB / 0.93 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.795, allocations: 0 / 0.93 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.703e-06/0.795, allocations: 0 / 0.93 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.795, allocations: 0 / 0.93 GB, free: 12.37 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.0009256/0.796, allocations: 0.5877 MB / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.796, allocations: 8.031 kB / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.7964, allocations: 59.59 kB / 0.9307 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.7969, allocations: 305.3 kB / 0.931 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.7969, allocations: 12 kB / 0.931 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.797, allocations: 16 kB / 0.931 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.7974, allocations: 196.6 kB / 0.9312 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.7974, allocations: 0 / 0.9312 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.7974, allocations: 4 kB / 0.9312 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.7974, allocations: 4 kB / 0.9312 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.7977, allocations: 130.3 kB / 0.9313 GB, free: 10.96 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.001052/0.7988, allocations: 0.7769 MB / 0.9321 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.7991, allocations: 86.47 kB / 0.9322 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.7992, allocations: 76.86 kB / 0.9322 GB, free: 9.945 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.7995, allocations: 190.2 kB / 0.9324 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.7996, allocations: 38.55 kB / 0.9325 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.7996, allocations: 0 / 0.9325 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006922/0.8003, allocations: 221.5 kB / 0.9327 GB, free: 9.453 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.8003, allocations: 51.41 kB / 0.9327 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.8006, allocations: 267 kB / 0.933 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.8006, allocations: 25.8 kB / 0.933 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.8007, allocations: 151.9 kB / 0.9331 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.8008, allocations: 43.45 kB / 0.9332 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.8008, allocations: 21.72 kB / 0.9332 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.8009, allocations: 334.8 kB / 0.9335 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.8011, allocations: 48.81 kB / 0.9336 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.8013, allocations: 97.05 kB / 0.9337 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.8015, allocations: 119.3 kB / 0.9338 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.8015, allocations: 7.922 kB / 0.9338 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003484/0.8019, allocations: 157.3 kB / 0.9339 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.8019, allocations: 4 kB / 0.9339 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.8019, allocations: 0 / 0.9339 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.8019, allocations: 7.938 kB / 0.9339 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.8021, allocations: 19.98 kB / 0.934 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.8021, allocations: 7.922 kB / 0.934 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.8023, allocations: 20.06 kB / 0.934 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.8023, allocations: 8.031 kB / 0.934 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000192/0.8025, allocations: 144.1 kB / 0.9341 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001527/0.8027, allocations: 93.11 kB / 0.9342 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002423/0.8029, allocations: 123.3 kB / 0.9343 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.8029, allocations: 0 / 0.9343 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003157/0.8033, allocations: 157.3 kB / 0.9345 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.8033, allocations: 6.5 kB / 0.9345 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.8033, allocations: 4 kB / 0.9345 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-06/0.8033, allocations: 0 / 0.9345 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.8034, allocations: 27.86 kB / 0.9345 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.8034, allocations: 4.031 kB / 0.9345 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.8036, allocations: 19.89 kB / 0.9345 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.8036, allocations: 8 kB / 0.9346 GB, free: 7.395 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.888e-05/0.8037, allocations: 180.8 kB / 0.9347 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.8038, allocations: 27.83 kB / 0.9348 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.8042, allocations: 163.5 kB / 0.9349 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.8042, allocations: 11.98 kB / 0.9349 GB, free: 7 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8042, allocations: 0 / 0.9349 GB, free: 7 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.8042, allocations: 0 / 0.9349 GB, free: 7 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008779/0.8051, allocations: 0.5898 MB / 0.9355 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.8051, allocations: 4 kB / 0.9355 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.8052, allocations: 19.98 kB / 0.9355 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.8052, allocations: 4 kB / 0.9355 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.8052, allocations: 0 / 0.9355 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.8053, allocations: 7.984 kB / 0.9355 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.8053, allocations: 7.938 kB / 0.9355 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.8056, allocations: 297.5 kB / 0.9358 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.8058, allocations: 120.7 kB / 0.9359 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.8058, allocations: 7.984 kB / 0.9359 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.806, allocations: 15.98 kB / 0.936 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.8061, allocations: 11.92 kB / 0.936 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.8061, allocations: 4 kB / 0.936 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001728/0.8062, allocations: 198 kB / 0.9362 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8063, allocations: 4 kB / 0.9362 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004716/0.8067, allocations: 95.84 kB / 0.9363 GB, free: 5.5 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.0003874/0.8071, allocations: 162.9 kB / 0.9364 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004772/0.8076, allocations: 167.8 kB / 0.9366 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8076, allocations: 4 kB / 0.9366 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.8078, allocations: 63.83 kB / 0.9366 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007305/0.8085, allocations: 114.8 kB / 0.9367 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007704/0.8093, allocations: 470.7 kB / 0.9372 GB, free: 4.492 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.8098, allocations: 0.7558 MB / 0.9379 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.8099, allocations: 19.44 kB / 0.938 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of SimCode: time 4.5e-07/0.8099, allocations: 0 / 0.938 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of Templates: time 0.00662/0.8165, allocations: 3.722 MB / 0.9416 GB, free: 8 kB / 0.7012 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)