Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.007943/0.007943, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.001739/0.001739, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.63/1.63, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.657/1.657, allocations: 251.7 MB / 0.5094 GB, free: 3.078 MB / 414.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.001405/0.001405, allocations: 71.89 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2761, allocations: 104.7 MB / 0.8281 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.981/1.257, allocations: 167.5 MB / 0.9916 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.003348/1.261, allocations: 1.602 MB / 0.9932 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/1.261, allocations: 16 kB / 0.9932 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0004909/1.262, allocations: 152.8 kB / 0.9933 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002677/1.264, allocations: 0.7283 MB / 0.9941 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/1.266, allocations: 0.6087 MB / 0.9947 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008555/1.267, allocations: 0.7025 MB / 0.9953 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/1.267, allocations: 231.8 kB / 0.9956 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005971/1.268, allocations: 340.5 kB / 0.9959 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/1.268, allocations: 228.1 kB / 0.9961 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/1.268, allocations: 27 kB / 0.9961 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/1.27, allocations: 0.8638 MB / 0.997 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/1.27, allocations: 110.3 kB / 0.9971 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/1.27, allocations: 169.3 kB / 0.9972 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/1.271, allocations: 0.7277 MB / 0.9979 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/1.271, allocations: 0 / 0.9979 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of FrontEnd: time 9.81e-07/1.271, allocations: 0 / 0.9979 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.771e-06/1.271, allocations: 0 / 0.9979 GB, free: 6.988 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.0008036/1.272, allocations: 0.6558 MB / 0.9986 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 2.718e-05/1.272, allocations: 10.12 kB / 0.9986 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/1.273, allocations: 149.5 kB / 0.9987 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/1.274, allocations: 323.5 kB / 0.999 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/1.274, allocations: 16.22 kB / 0.9991 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/1.274, allocations: 25.06 kB / 0.9991 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/1.274, allocations: 274.8 kB / 0.9993 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.274, allocations: 7.938 kB / 0.9994 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/1.274, allocations: 9.875 kB / 0.9994 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.274, allocations: 8.5 kB / 0.9994 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/1.275, allocations: 197.6 kB / 0.9996 GB, free: 5.727 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.001297/1.276, allocations: 1.212 MB / 1.001 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/1.276, allocations: 131.4 kB / 1.001 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/1.276, allocations: 96.89 kB / 1.001 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000531/1.277, allocations: 302 kB / 1.001 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/1.277, allocations: 42.38 kB / 1.001 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/1.277, allocations: 4 kB / 1.001 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0006699/1.278, allocations: 277.2 kB / 1.002 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/1.278, allocations: 53.56 kB / 1.002 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/1.278, allocations: 316.4 kB / 1.002 GB, free: 3.707 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/1.278, allocations: 32.48 kB / 1.002 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/1.278, allocations: 178.8 kB / 1.002 GB, free: 3.508 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/1.278, allocations: 58.94 kB / 1.002 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/1.278, allocations: 39.06 kB / 1.002 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.279, allocations: 340.1 kB / 1.003 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/1.279, allocations: 67.02 kB / 1.003 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/1.279, allocations: 125.1 kB / 1.003 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/1.279, allocations: 185.2 kB / 1.003 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.279, allocations: 0 / 1.003 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004199/1.28, allocations: 245.8 kB / 1.003 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.28, allocations: 7.781 kB / 1.003 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/1.28, allocations: 0 / 1.003 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/1.28, allocations: 1.812 kB / 1.003 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/1.28, allocations: 45.39 kB / 1.003 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.28, allocations: 5.766 kB / 1.003 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/1.28, allocations: 26.31 kB / 1.003 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/1.28, allocations: 16 kB / 1.003 GB, free: 2.672 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.0001399/1.28, allocations: 154.5 kB / 1.003 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/1.28, allocations: 35.2 kB / 1.003 GB, free: 2.508 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/1.281, allocations: 211.1 kB / 1.004 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/1.281, allocations: 1.812 kB / 1.004 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/1.281, allocations: 0 / 1.004 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/1.281, allocations: 4 kB / 1.004 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009591/1.282, allocations: 0.6855 MB / 1.004 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.282, allocations: 7.156 kB / 1.004 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/1.282, allocations: 30.47 kB / 1.004 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.282, allocations: 2.688 kB / 1.004 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/1.282, allocations: 12.97 kB / 1.004 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.282, allocations: 2.938 kB / 1.004 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.282, allocations: 6.969 kB / 1.004 GB, free: 1.777 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/1.283, allocations: 436.9 kB / 1.005 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/1.283, allocations: 120.3 kB / 1.005 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/1.283, allocations: 6.719 kB / 1.005 GB, free: 1.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/1.283, allocations: 12.64 kB / 1.005 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/1.283, allocations: 15.73 kB / 1.005 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/1.283, allocations: 8.469 kB / 1.005 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002075/1.283, allocations: 223.1 kB / 1.005 GB, free: 1.164 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.283, allocations: 64 / 1.005 GB, free: 1.164 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003704/1.284, allocations: 83.44 kB / 1.005 GB, free: 1.148 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.0003255/1.284, allocations: 170.8 kB / 1.005 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003712/1.284, allocations: 171 kB / 1.006 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.284, allocations: 2.531 kB / 1.006 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/1.284, allocations: 83.08 kB / 1.006 GB, free: 0.9141 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/1.285, allocations: 182.8 kB / 1.006 GB, free: 0.8125 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000961/1.286, allocations: 0.5893 MB / 1.006 GB, free: 384 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/1.287, allocations: 0.7809 MB / 1.007 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002032/1.287, allocations: 66 kB / 1.007 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/1.287, allocations: 22.66 kB / 1.007 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of SimCode: time 2.2e-07/1.287, allocations: 0 / 1.007 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of Templates: time 0.01088/1.298, allocations: 5.774 MB / 1.013 GB, free: 12.75 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)