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.001479/0.001479, allocations: 109.4 kB / 15.69 MB, free: 128 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.001686/0.001687, allocations: 188 kB / 16.62 MB, free: 6.582 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.668/1.668, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.84/1.84, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.002604/0.002604, allocations: 68.27 kB / 0.6723 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.3001, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8355/1.136, allocations: 167.4 MB / 0.9475 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003284/1.139, allocations: 1.542 MB / 0.9491 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004023/1.139, allocations: 15.38 kB / 0.9491 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005512/1.14, allocations: 154.7 kB / 0.9492 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/1.142, allocations: 0.6977 MB / 0.9499 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002631/1.145, allocations: 0.6055 MB / 0.9505 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001675/1.147, allocations: 0.6981 MB / 0.9512 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007144/1.147, allocations: 232.7 kB / 0.9514 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/1.149, allocations: 336.8 kB / 0.9517 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/1.149, allocations: 218 kB / 0.9519 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.457e-05/1.149, allocations: 22.5 kB / 0.9519 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/1.152, allocations: 0.875 MB / 0.9528 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/1.152, allocations: 111.6 kB / 0.9529 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/1.152, allocations: 162 kB / 0.9531 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/1.153, allocations: 0.7275 MB / 0.9538 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.153, allocations: 1.781 kB / 0.9538 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/1.153, allocations: 0 / 0.9538 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.375e-06/1.153, allocations: 1.562 kB / 0.9538 GB, free: 1.191 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.001079/1.154, allocations: 0.6473 MB / 0.9544 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.155, allocations: 9.5 kB / 0.9544 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/1.156, allocations: 155.2 kB / 0.9546 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/1.156, allocations: 324.2 kB / 0.9549 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/1.156, allocations: 17.47 kB / 0.9549 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/1.156, allocations: 21.94 kB / 0.9549 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/1.157, allocations: 269.8 kB / 0.9552 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.157, allocations: 7.875 kB / 0.9552 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/1.157, allocations: 9.562 kB / 0.9552 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.157, allocations: 9.969 kB / 0.9552 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000457/1.158, allocations: 194.1 kB / 0.9554 GB, free: 16.36 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.001547/1.159, allocations: 1.209 MB / 0.9566 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/1.159, allocations: 138.2 kB / 0.9567 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/1.16, allocations: 91.56 kB / 0.9568 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005759/1.16, allocations: 299.5 kB / 0.9571 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/1.16, allocations: 40.47 kB / 0.9571 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/1.16, allocations: 1.203 kB / 0.9571 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007634/1.161, allocations: 280.1 kB / 0.9574 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/1.161, allocations: 53.75 kB / 0.9574 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/1.161, allocations: 312.3 kB / 0.9577 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/1.161, allocations: 30.42 kB / 0.9577 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/1.162, allocations: 182.4 kB / 0.9579 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/1.162, allocations: 61.52 kB / 0.958 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/1.162, allocations: 44.75 kB / 0.958 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.162, allocations: 340.6 kB / 0.9583 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/1.162, allocations: 67.58 kB / 0.9584 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/1.162, allocations: 131.1 kB / 0.9585 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/1.163, allocations: 192.1 kB / 0.9587 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.163, allocations: 0 / 0.9587 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004673/1.163, allocations: 244.7 kB / 0.959 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.163, allocations: 5.75 kB / 0.959 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.163, allocations: 3.953 kB / 0.959 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.163, allocations: 2.609 kB / 0.959 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/1.163, allocations: 41.78 kB / 0.959 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.163, allocations: 4.719 kB / 0.959 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/1.164, allocations: 35.73 kB / 0.959 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/1.164, allocations: 11.81 kB / 0.9591 GB, free: 14.21 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.000149/1.164, allocations: 155.9 kB / 0.9592 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/1.164, allocations: 29.59 kB / 0.9592 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/1.164, allocations: 215 kB / 0.9594 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.164, allocations: 4.297 kB / 0.9594 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.164, allocations: 2.25 kB / 0.9594 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/1.164, allocations: 1.062 kB / 0.9594 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/1.165, allocations: 0.6827 MB / 0.9601 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.165, allocations: 1.406 kB / 0.9601 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/1.166, allocations: 28.56 kB / 0.9601 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/1.166, allocations: 3.656 kB / 0.9601 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/1.166, allocations: 10.16 kB / 0.9602 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/1.166, allocations: 10.03 kB / 0.9602 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.166, allocations: 2.188 kB / 0.9602 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007049/1.166, allocations: 436.4 kB / 0.9606 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/1.166, allocations: 129.4 kB / 0.9607 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/1.167, allocations: 11.12 kB / 0.9607 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/1.167, allocations: 7.203 kB / 0.9607 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/1.167, allocations: 14.39 kB / 0.9607 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/1.167, allocations: 6.469 kB / 0.9607 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002406/1.167, allocations: 225.8 kB / 0.961 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/1.167, allocations: 1.094 kB / 0.961 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004699/1.168, allocations: 80.91 kB / 0.961 GB, free: 13.23 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.0004297/1.168, allocations: 171.7 kB / 0.9612 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000501/1.168, allocations: 173.1 kB / 0.9614 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.168, allocations: 4.188 kB / 0.9614 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/1.169, allocations: 84.97 kB / 0.9614 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/1.17, allocations: 172.3 kB / 0.9616 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/1.171, allocations: 0.5914 MB / 0.9622 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/1.171, allocations: 0.7768 MB / 0.9629 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002188/1.171, allocations: 65.77 kB / 0.963 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.155e-05/1.171, allocations: 24.25 kB / 0.963 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/1.171, allocations: 0 / 0.963 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of Templates: time 0.01216/1.184, allocations: 5.733 MB / 0.9686 GB, free: 11.16 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)