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.00119/0.00119, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.568/1.568, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.904/1.904, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001441/0.001441, allocations: 66.05 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2581, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8107/1.069, allocations: 167.4 MB / 0.9468 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003134/1.072, allocations: 1.545 MB / 0.9483 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006783/1.073, allocations: 11.41 kB / 0.9483 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000645/1.073, allocations: 150.6 kB / 0.9485 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002314/1.076, allocations: 0.7037 MB / 0.9491 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/1.078, allocations: 0.595 MB / 0.9497 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001115/1.079, allocations: 0.6993 MB / 0.9504 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004843/1.079, allocations: 235.3 kB / 0.9506 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008466/1.08, allocations: 333.1 kB / 0.951 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004184/1.081, allocations: 228.5 kB / 0.9512 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/1.081, allocations: 22.16 kB / 0.9512 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/1.083, allocations: 0.8649 MB / 0.952 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/1.083, allocations: 111.5 kB / 0.9521 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001965/1.083, allocations: 162.6 kB / 0.9523 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/1.084, allocations: 0.7171 MB / 0.953 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.084, allocations: 4.75 kB / 0.953 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.846e-06/1.084, allocations: 0 / 0.953 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.084, allocations: 1.203 kB / 0.953 GB, free: 0.832 MB / 0.7169 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.001078/1.085, allocations: 0.6482 MB / 0.9536 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.085, allocations: 9.938 kB / 0.9536 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/1.087, allocations: 154.8 kB / 0.9538 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/1.087, allocations: 307.6 kB / 0.9541 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/1.087, allocations: 18.39 kB / 0.9541 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/1.087, allocations: 21.78 kB / 0.9541 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/1.088, allocations: 273.9 kB / 0.9544 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/1.088, allocations: 3.938 kB / 0.9544 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/1.088, allocations: 10.53 kB / 0.9544 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.088, allocations: 5.25 kB / 0.9544 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/1.088, allocations: 199.1 kB / 0.9546 GB, free: 16 MB / 0.7325 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.00139/1.09, allocations: 1.218 MB / 0.9558 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/1.09, allocations: 133.2 kB / 0.9559 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/1.09, allocations: 94.75 kB / 0.956 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/1.091, allocations: 302.5 kB / 0.9563 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/1.091, allocations: 43.53 kB / 0.9563 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/1.091, allocations: 3.938 kB / 0.9563 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007733/1.091, allocations: 275.7 kB / 0.9566 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/1.092, allocations: 52.47 kB / 0.9566 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/1.092, allocations: 315.2 kB / 0.9569 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/1.092, allocations: 34.23 kB / 0.957 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/1.092, allocations: 177.4 kB / 0.9571 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/1.092, allocations: 58.81 kB / 0.9572 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/1.092, allocations: 45.22 kB / 0.9572 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.092, allocations: 342.2 kB / 0.9576 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/1.093, allocations: 68.11 kB / 0.9576 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/1.093, allocations: 131.5 kB / 0.9578 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/1.093, allocations: 183.6 kB / 0.9579 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.093, allocations: 6.531 kB / 0.9579 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004665/1.094, allocations: 236.8 kB / 0.9582 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.094, allocations: 6.531 kB / 0.9582 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.094, allocations: 1.062 kB / 0.9582 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.094, allocations: 2.375 kB / 0.9582 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/1.094, allocations: 46.45 kB / 0.9582 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.094, allocations: 2.219 kB / 0.9582 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/1.094, allocations: 39.42 kB / 0.9583 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/1.094, allocations: 8.094 kB / 0.9583 GB, free: 13.85 MB / 0.7325 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.0001454/1.094, allocations: 152.9 kB / 0.9584 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/1.094, allocations: 29.22 kB / 0.9584 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/1.095, allocations: 219.9 kB / 0.9587 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/1.095, allocations: 1.125 kB / 0.9587 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.095, allocations: 5.219 kB / 0.9587 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.095, allocations: 0 / 0.9587 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/1.096, allocations: 0.6806 MB / 0.9593 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.096, allocations: 2.281 kB / 0.9593 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/1.096, allocations: 30.47 kB / 0.9594 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/1.096, allocations: 4.219 kB / 0.9594 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/1.096, allocations: 11.56 kB / 0.9594 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/1.096, allocations: 6.875 kB / 0.9594 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.096, allocations: 1.594 kB / 0.9594 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/1.097, allocations: 440.2 kB / 0.9598 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/1.097, allocations: 125.3 kB / 0.9599 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/1.097, allocations: 13.69 kB / 0.9599 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/1.097, allocations: 6.797 kB / 0.9599 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/1.097, allocations: 15.03 kB / 0.96 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/1.097, allocations: 5.781 kB / 0.96 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002304/1.097, allocations: 231.6 kB / 0.9602 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.097, allocations: 0 / 0.9602 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004447/1.098, allocations: 83.06 kB / 0.9603 GB, free: 12.86 MB / 0.7325 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.0004095/1.098, allocations: 168.8 kB / 0.9604 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004449/1.099, allocations: 179.4 kB / 0.9606 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.099, allocations: 1.156 kB / 0.9606 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/1.099, allocations: 88.03 kB / 0.9607 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009185/1.1, allocations: 183.1 kB / 0.9609 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/1.101, allocations: 0.5877 MB / 0.9614 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/1.101, allocations: 0.7755 MB / 0.9622 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002404/1.102, allocations: 64.78 kB / 0.9622 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/1.102, allocations: 29.09 kB / 0.9623 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/1.102, allocations: 0 / 0.9623 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.01182/1.114, allocations: 5.735 MB / 0.9679 GB, free: 10.8 MB / 0.7325 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)