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.001396/0.001396, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001151/0.001151, allocations: 188.7 kB / 17.2 MB, free: 5.508 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.411/1.411, allocations: 205.1 MB / 223.1 MB, free: 12.27 MB / 190.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.79/1.79, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001531/0.001532, allocations: 67.19 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3256, allocations: 114.5 MB / 0.784 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7667/1.092, allocations: 167.4 MB / 0.9475 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003108/1.096, allocations: 1.545 MB / 0.949 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004138/1.096, allocations: 11.94 kB / 0.949 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000529/1.097, allocations: 146.9 kB / 0.9491 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001923/1.099, allocations: 0.6961 MB / 0.9498 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/1.1, allocations: 0.6091 MB / 0.9504 GB, free: 160 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00102/1.101, allocations: 0.6935 MB / 0.9511 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/1.102, allocations: 237 kB / 0.9513 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/1.102, allocations: 330.7 kB / 0.9516 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/1.103, allocations: 227.1 kB / 0.9518 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/1.103, allocations: 24 kB / 0.9519 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/1.104, allocations: 0.8572 MB / 0.9527 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/1.105, allocations: 115.7 kB / 0.9528 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/1.105, allocations: 159.2 kB / 0.953 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/1.106, allocations: 0.7208 MB / 0.9537 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.106, allocations: 0 / 0.9537 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.066e-06/1.106, allocations: 0 / 0.9537 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.755e-06/1.106, allocations: 3.938 kB / 0.9537 GB, free: 12.8 MB / 0.7481 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.0009656/1.107, allocations: 0.6533 MB / 0.9543 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.107, allocations: 8.031 kB / 0.9543 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/1.108, allocations: 147.5 kB / 0.9545 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/1.108, allocations: 309.7 kB / 0.9547 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/1.108, allocations: 16.38 kB / 0.9548 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/1.108, allocations: 24 kB / 0.9548 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/1.109, allocations: 279.5 kB / 0.9551 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.109, allocations: 3.938 kB / 0.9551 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/1.109, allocations: 8 kB / 0.9551 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/1.109, allocations: 9.406 kB / 0.9551 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/1.109, allocations: 191.8 kB / 0.9553 GB, free: 11.07 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.00146/1.111, allocations: 1.218 MB / 0.9564 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/1.111, allocations: 138.5 kB / 0.9566 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/1.111, allocations: 85.94 kB / 0.9567 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006694/1.112, allocations: 307.2 kB / 0.957 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/1.112, allocations: 46.5 kB / 0.957 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.903e-06/1.112, allocations: 0 / 0.957 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0007658/1.113, allocations: 274.1 kB / 0.9573 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/1.113, allocations: 55.41 kB / 0.9573 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/1.113, allocations: 312.5 kB / 0.9576 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/1.113, allocations: 29.7 kB / 0.9576 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/1.113, allocations: 188.1 kB / 0.9578 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/1.113, allocations: 59.19 kB / 0.9579 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/1.114, allocations: 41.7 kB / 0.9579 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.114, allocations: 340.3 kB / 0.9582 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/1.114, allocations: 63.95 kB / 0.9583 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/1.114, allocations: 134.1 kB / 0.9584 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/1.114, allocations: 182.5 kB / 0.9586 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.114, allocations: 8 kB / 0.9586 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004598/1.115, allocations: 241.3 kB / 0.9588 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.115, allocations: 4.781 kB / 0.9588 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.115, allocations: 4 kB / 0.9588 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.115, allocations: 0 / 0.9588 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/1.115, allocations: 47.84 kB / 0.9589 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.115, allocations: 4 kB / 0.9589 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/1.115, allocations: 35.77 kB / 0.9589 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/1.115, allocations: 9.125 kB / 0.9589 GB, free: 7.027 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.0001543/1.116, allocations: 153.7 kB / 0.9591 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/1.116, allocations: 27.62 kB / 0.9591 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/1.116, allocations: 216.9 kB / 0.9593 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.116, allocations: 6.938 kB / 0.9593 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.116, allocations: 4 kB / 0.9593 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.116, allocations: 0 / 0.9593 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/1.117, allocations: 0.6834 MB / 0.96 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.117, allocations: 4 kB / 0.96 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/1.117, allocations: 31.98 kB / 0.96 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.117, allocations: 4 kB / 0.96 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/1.117, allocations: 7.938 kB / 0.96 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.117, allocations: 1.406 kB / 0.96 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.117, allocations: 7.938 kB / 0.9601 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006589/1.118, allocations: 438.4 kB / 0.9605 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/1.118, allocations: 120.7 kB / 0.9606 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/1.118, allocations: 11.94 kB / 0.9606 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/1.118, allocations: 4 kB / 0.9606 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/1.119, allocations: 15.98 kB / 0.9606 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/1.119, allocations: 4 kB / 0.9606 GB, free: 5.164 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000227/1.119, allocations: 227.1 kB / 0.9608 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/1.119, allocations: 4 kB / 0.9608 GB, free: 4.941 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000408/1.119, allocations: 83.89 kB / 0.9609 GB, free: 4.859 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.000457/1.12, allocations: 165.5 kB / 0.9611 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004553/1.12, allocations: 180 kB / 0.9612 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.12, allocations: 0 / 0.9612 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/1.12, allocations: 87.83 kB / 0.9613 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008805/1.121, allocations: 175.9 kB / 0.9615 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/1.122, allocations: 0.6263 MB / 0.9621 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/1.123, allocations: 0.7756 MB / 0.9629 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.02e-05/1.123, allocations: 27.44 kB / 0.9629 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/1.123, allocations: 0 / 0.9629 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of Templates: time 0.007788/1.131, allocations: 4.818 MB / 0.9676 GB, free: 14.1 MB / 0.7637 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)