Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.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.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 108.7 kB / 16.37 MB, free: 6.48 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.001034/0.001034, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.235/1.235, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 276.9 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8879/0.8879, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 102.5 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1596, allocations: 86.97 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4279/0.5875, allocations: 167.3 MB / 0.845 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002419/0.5899, allocations: 1.552 MB / 0.8465 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.5902, allocations: 11.94 kB / 0.8466 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.5907, allocations: 150.9 kB / 0.8467 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.592, allocations: 0.7078 MB / 0.8474 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.5932, allocations: 0.6004 MB / 0.848 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006538/0.5939, allocations: 0.6973 MB / 0.8487 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.5942, allocations: 233.1 kB / 0.8489 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004785/0.5947, allocations: 330.7 kB / 0.8492 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.5949, allocations: 223.1 kB / 0.8494 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.595, allocations: 24 kB / 0.8494 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.5961, allocations: 0.865 MB / 0.8503 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.5963, allocations: 107.7 kB / 0.8504 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.5964, allocations: 167.2 kB / 0.8505 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008376/0.5973, allocations: 0.7274 MB / 0.8512 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5973, allocations: 3.984 kB / 0.8513 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5973, allocations: 0 / 0.8513 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.5973, allocations: 0 / 0.8513 GB, free: 0.793 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008/0.5981, allocations: 0.6473 MB / 0.8519 GB, free: 100 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.5981, allocations: 8.031 kB / 0.8519 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.5992, allocations: 155.4 kB / 0.852 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.5997, allocations: 325.6 kB / 0.8523 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.5997, allocations: 20.44 kB / 0.8524 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.5998, allocations: 20 kB / 0.8524 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.6002, allocations: 272 kB / 0.8526 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6002, allocations: 7.938 kB / 0.8527 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.6003, allocations: 12 kB / 0.8527 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6003, allocations: 4 kB / 0.8527 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.6007, allocations: 203.8 kB / 0.8529 GB, free: 15.04 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.001268/0.6019, allocations: 1.201 MB / 0.854 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.6022, allocations: 135.6 kB / 0.8542 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.6024, allocations: 97.5 kB / 0.8543 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005364/0.6029, allocations: 299.2 kB / 0.8545 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.603, allocations: 38.48 kB / 0.8546 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.603, allocations: 4 kB / 0.8546 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0006907/0.6037, allocations: 272.6 kB / 0.8548 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.6037, allocations: 63.33 kB / 0.8549 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.604, allocations: 312.5 kB / 0.8552 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.6041, allocations: 29.7 kB / 0.8552 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.6042, allocations: 188.1 kB / 0.8554 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.6042, allocations: 59.19 kB / 0.8555 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/0.6043, allocations: 41.7 kB / 0.8555 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6044, allocations: 346.7 kB / 0.8558 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.6046, allocations: 63.95 kB / 0.8559 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.6048, allocations: 122.2 kB / 0.856 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.6051, allocations: 185.7 kB / 0.8562 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6051, allocations: 0 / 0.8562 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004262/0.6056, allocations: 253.1 kB / 0.8564 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.6056, allocations: 6.5 kB / 0.8564 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6056, allocations: 0 / 0.8564 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.6056, allocations: 4 kB / 0.8564 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.6058, allocations: 39.92 kB / 0.8565 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.6058, allocations: 8 kB / 0.8565 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.606, allocations: 35.77 kB / 0.8565 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.606, allocations: 12 kB / 0.8565 GB, free: 11.01 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001296/0.6062, allocations: 157.7 kB / 0.8567 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.6062, allocations: 23.86 kB / 0.8567 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004406/0.6067, allocations: 224.2 kB / 0.8569 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6067, allocations: 4 kB / 0.8569 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.6067, allocations: 0 / 0.8569 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6067, allocations: 4 kB / 0.8569 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009486/0.6077, allocations: 0.6758 MB / 0.8576 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6077, allocations: 4 kB / 0.8576 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.6078, allocations: 35.91 kB / 0.8576 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.6079, allocations: 4 kB / 0.8576 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.6079, allocations: 7.938 kB / 0.8576 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6079, allocations: 4 kB / 0.8576 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6079, allocations: 4 kB / 0.8576 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.6085, allocations: 429.1 kB / 0.8581 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.6086, allocations: 128.7 kB / 0.8582 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.6087, allocations: 7.938 kB / 0.8582 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.6088, allocations: 11.98 kB / 0.8582 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.6089, allocations: 11.98 kB / 0.8582 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.6089, allocations: 7.938 kB / 0.8582 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001974/0.6091, allocations: 227 kB / 0.8584 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6091, allocations: 64 / 0.8584 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003525/0.6095, allocations: 80 kB / 0.8585 GB, free: 8.836 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0003292/0.6098, allocations: 181.2 kB / 0.8587 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.6102, allocations: 167.8 kB / 0.8588 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6102, allocations: 0 / 0.8588 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.6104, allocations: 91.81 kB / 0.8589 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007682/0.6112, allocations: 165.4 kB / 0.8591 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.612, allocations: 0.6017 MB / 0.8597 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.6123, allocations: 0.7795 MB / 0.8604 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.6125, allocations: 63.17 kB / 0.8605 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.6126, allocations: 27.44 kB / 0.8605 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.6126, allocations: 0 / 0.8605 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of Templates: time 0.009491/0.6221, allocations: 5.737 MB / 0.8661 GB, free: 1.09 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)