Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0012/0.0012, allocations: 110.4 kB / 15.99 MB, free: 6.355 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.001193/0.001193, allocations: 192.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.72 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2784, allocations: 114.5 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7707/1.049, allocations: 165.1 MB / 0.9447 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002702/1.052, allocations: 1.537 MB / 0.9462 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/1.052, allocations: 8.25 kB / 0.9462 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005409/1.053, allocations: 121.5 kB / 0.9464 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001833/1.055, allocations: 0.6692 MB / 0.947 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001702/1.057, allocations: 0.5583 MB / 0.9476 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009349/1.058, allocations: 0.705 MB / 0.9483 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/1.058, allocations: 225 kB / 0.9485 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006139/1.059, allocations: 339.5 kB / 0.9488 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/1.059, allocations: 233 kB / 0.949 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/1.059, allocations: 21 kB / 0.949 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/1.061, allocations: 0.9027 MB / 0.9499 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/1.061, allocations: 105.6 kB / 0.95 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/1.061, allocations: 165.4 kB / 0.9502 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008446/1.062, allocations: 0.5084 MB / 0.9507 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.062, allocations: 0 / 0.9507 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/1.062, allocations: 4 kB / 0.9507 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.062, allocations: 0.8438 kB / 0.9507 GB, free: 5.809 MB / 0.7325 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.001234/1.063, allocations: 0.6496 MB / 0.9513 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/1.063, allocations: 8.25 kB / 0.9513 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/1.064, allocations: 154.9 kB / 0.9515 GB, free: 21.31 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/1.065, allocations: 307.5 kB / 0.9518 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/1.065, allocations: 20.31 kB / 0.9518 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/1.065, allocations: 23.47 kB / 0.9518 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005909/1.066, allocations: 273.5 kB / 0.9521 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.066, allocations: 8.453 kB / 0.9521 GB, free: 20.99 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/1.066, allocations: 9.469 kB / 0.9521 GB, free: 20.99 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/1.066, allocations: 5.594 kB / 0.9521 GB, free: 20.99 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/1.066, allocations: 198.5 kB / 0.9523 GB, free: 20.99 MB / 0.7481 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.001605/1.068, allocations: 1.206 MB / 0.9534 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/1.068, allocations: 143.6 kB / 0.9536 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/1.068, allocations: 89.17 kB / 0.9537 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007287/1.069, allocations: 305 kB / 0.954 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/1.069, allocations: 43.16 kB / 0.954 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/1.069, allocations: 0 / 0.954 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0008306/1.07, allocations: 279.1 kB / 0.9543 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/1.07, allocations: 53.53 kB / 0.9543 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/1.07, allocations: 315.9 kB / 0.9546 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/1.07, allocations: 29.83 kB / 0.9546 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.071, allocations: 181.8 kB / 0.9548 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/1.071, allocations: 57.92 kB / 0.9549 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/1.071, allocations: 43.08 kB / 0.9549 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.071, allocations: 341.8 kB / 0.9552 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/1.071, allocations: 64.12 kB / 0.9553 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/1.071, allocations: 125.6 kB / 0.9554 GB, free: 19 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/1.072, allocations: 188.2 kB / 0.9556 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.072, allocations: 0 / 0.9556 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004822/1.072, allocations: 239.8 kB / 0.9558 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.072, allocations: 5.875 kB / 0.9558 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/1.072, allocations: 2.531 kB / 0.9558 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.072, allocations: 2.438 kB / 0.9558 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/1.072, allocations: 42.41 kB / 0.9559 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.072, allocations: 7.344 kB / 0.9559 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/1.073, allocations: 36.59 kB / 0.9559 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/1.073, allocations: 10.41 kB / 0.9559 GB, free: 18.88 MB / 0.7481 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.0001615/1.073, allocations: 152.2 kB / 0.9561 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/1.073, allocations: 29.91 kB / 0.9561 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/1.073, allocations: 226.1 kB / 0.9563 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.073, allocations: 1.375 kB / 0.9563 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.073, allocations: 1.203 kB / 0.9563 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.073, allocations: 1.375 kB / 0.9563 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/1.075, allocations: 0.6744 MB / 0.957 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.075, allocations: 3.516 kB / 0.957 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/1.075, allocations: 36.31 kB / 0.957 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.075, allocations: 2.594 kB / 0.957 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/1.075, allocations: 7.469 kB / 0.957 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/1.075, allocations: 9.844 kB / 0.957 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.075, allocations: 3.719 kB / 0.957 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007795/1.076, allocations: 434.5 kB / 0.9575 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/1.076, allocations: 125.7 kB / 0.9576 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/1.076, allocations: 10.5 kB / 0.9576 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/1.076, allocations: 12.89 kB / 0.9576 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/1.076, allocations: 21.84 kB / 0.9576 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/1.076, allocations: 5.656 kB / 0.9576 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003074/1.077, allocations: 227.1 kB / 0.9578 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.01e-07/1.077, allocations: 0 / 0.9578 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005243/1.077, allocations: 77.75 kB / 0.9579 GB, free: 17.93 MB / 0.7481 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.000488/1.078, allocations: 176.5 kB / 0.9581 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005636/1.078, allocations: 174.5 kB / 0.9583 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.078, allocations: 3.75 kB / 0.9583 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/1.078, allocations: 84.91 kB / 0.9583 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009819/1.079, allocations: 166.7 kB / 0.9585 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/1.081, allocations: 0.7282 MB / 0.9592 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/1.081, allocations: 0.7754 MB / 0.96 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.769e-05/1.081, allocations: 27.62 kB / 0.96 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of SimCode: time 1.012e-06/1.081, allocations: 6.672 kB / 0.96 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.008935/1.09, allocations: 4.799 MB / 0.9647 GB, free: 16.18 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)