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.000925/0.000925, allocations: 97.8 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.007937/0.007937, allocations: 170.2 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 269.9 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9181/0.9181, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004151, allocations: 15.16 kB / 0.5987 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.5186/0.6834, allocations: 157.2 MB / 0.8386 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.6865, allocations: 1.708 MB / 0.8403 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.6868, allocations: 10.53 kB / 0.8403 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.6874, allocations: 125.9 kB / 0.8404 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.6887, allocations: 0.4902 MB / 0.8409 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.6898, allocations: 365.3 kB / 0.8412 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007823/0.6906, allocations: 0.7621 MB / 0.842 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.6909, allocations: 152.5 kB / 0.8421 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000573/0.6915, allocations: 295.6 kB / 0.8424 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.6917, allocations: 151.8 kB / 0.8426 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.6917, allocations: 10.12 kB / 0.8426 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.6928, allocations: 0.7785 MB / 0.8433 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.236e-05/0.6929, allocations: 73.25 kB / 0.8434 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.6931, allocations: 131.4 kB / 0.8435 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006838/0.6938, allocations: 0.5189 MB / 0.844 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6938, allocations: 1.781 kB / 0.844 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6938, allocations: 0 / 0.844 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.6938, allocations: 0 / 0.844 GB, free: 4.129 MB / 0.5606 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.0007392/0.6945, allocations: 0.5428 MB / 0.8446 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.6946, allocations: 9 kB / 0.8446 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/0.6949, allocations: 55.39 kB / 0.8446 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.6953, allocations: 287.6 kB / 0.8449 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.6953, allocations: 10.88 kB / 0.8449 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.6953, allocations: 14.03 kB / 0.8449 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.6957, allocations: 191.9 kB / 0.8451 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.6957, allocations: 3.188 kB / 0.8451 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.6958, allocations: 8 kB / 0.8451 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.6958, allocations: 7.281 kB / 0.8451 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.6961, allocations: 144.9 kB / 0.8453 GB, free: 3.098 MB / 0.5606 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.0009964/0.6971, allocations: 0.7838 MB / 0.846 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.6974, allocations: 85.5 kB / 0.8461 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.6975, allocations: 86.5 kB / 0.8462 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/0.6979, allocations: 191.7 kB / 0.8464 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.6979, allocations: 38.16 kB / 0.8464 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.6979, allocations: 4 kB / 0.8464 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006605/0.6986, allocations: 239.6 kB / 0.8466 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.6986, allocations: 51.41 kB / 0.8467 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.6989, allocations: 269.6 kB / 0.847 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.6989, allocations: 27.86 kB / 0.847 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.699, allocations: 149.7 kB / 0.8471 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.6991, allocations: 30.45 kB / 0.8472 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.6991, allocations: 17.03 kB / 0.8472 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6992, allocations: 331.4 kB / 0.8475 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.6994, allocations: 47.88 kB / 0.8475 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.6995, allocations: 95.64 kB / 0.8476 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.6998, allocations: 135.5 kB / 0.8477 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6998, allocations: 0 / 0.8477 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003387/0.7002, allocations: 177.4 kB / 0.8479 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.588e-05/0.7002, allocations: 116.1 kB / 0.848 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.7002, allocations: 7.344 kB / 0.848 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7003, allocations: 0 / 0.848 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.7004, allocations: 23.55 kB / 0.8481 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.7004, allocations: 0 / 0.8481 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.7006, allocations: 25.7 kB / 0.8481 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.7006, allocations: 9.047 kB / 0.8481 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.7007, allocations: 6.844 kB / 0.8481 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000278/0.7009, allocations: 118.8 kB / 0.8482 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/0.7009, allocations: 0 / 0.8482 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-06/0.701, allocations: 1.75 kB / 0.8482 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.7011, allocations: 27.92 kB / 0.8482 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-06/0.7011, allocations: 0 / 0.8482 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.7013, allocations: 33.98 kB / 0.8483 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.7013, allocations: 10.98 kB / 0.8483 GB, free: 0.6211 MB / 0.5606 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.0001472/0.7014, allocations: 215.6 kB / 0.8485 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.7015, allocations: 22.91 kB / 0.8485 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.7019, allocations: 174.3 kB / 0.8487 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.7019, allocations: 3.984 kB / 0.8487 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7019, allocations: 6.844 kB / 0.8487 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7019, allocations: 0 / 0.8487 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000927/0.7029, allocations: 0.6037 MB / 0.8493 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7029, allocations: 0 / 0.8493 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.703, allocations: 33.97 kB / 0.8493 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.703, allocations: 0 / 0.8493 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.703, allocations: 2.875 kB / 0.8493 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.703, allocations: 2.469 kB / 0.8493 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.703, allocations: 2.781 kB / 0.8493 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.7034, allocations: 304.9 kB / 0.8496 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.7035, allocations: 118.6 kB / 0.8497 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.7036, allocations: 3.281 kB / 0.8497 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.7038, allocations: 16.45 kB / 0.8497 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.7038, allocations: 21.23 kB / 0.8498 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.7038, allocations: 9.812 kB / 0.8498 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001733/0.704, allocations: 198.1 kB / 0.85 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.704, allocations: 3.938 kB / 0.85 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004639/0.7045, allocations: 93.09 kB / 0.85 GB, free: 15.18 MB / 0.5762 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.0003443/0.7049, allocations: 176.6 kB / 0.8502 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004477/0.7053, allocations: 180.1 kB / 0.8504 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.7053, allocations: 7 kB / 0.8504 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.7055, allocations: 66.47 kB / 0.8505 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.7064, allocations: 133.1 kB / 0.8506 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006768/0.7071, allocations: 0.5079 MB / 0.8511 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.7074, allocations: 0.7558 MB / 0.8518 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002141/0.7076, allocations: 66.61 kB / 0.8519 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.7076, allocations: 20.84 kB / 0.8519 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.7077, allocations: 3.938 kB / 0.8519 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of Templates: time 0.008142/0.7158, allocations: 4.256 MB / 0.8561 GB, free: 11.6 MB / 0.5762 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)