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.001006/0.001006, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008925/0.008926, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.694/1.694, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.557/1.557, allocations: 252 MB / 0.5105 GB, free: 4.664 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.0005314/0.0005314, allocations: 20 kB / 0.6249 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6079, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1963/0.8043, allocations: 163.1 MB / 0.888 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003035/0.8073, allocations: 1.594 MB / 0.8896 GB, free: 5.957 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004774/0.8079, allocations: 7.938 kB / 0.8896 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.8084, allocations: 119.2 kB / 0.8897 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.8105, allocations: 0.6653 MB / 0.8903 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.8123, allocations: 0.5485 MB / 0.8909 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.8137, allocations: 0.9742 MB / 0.8918 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004779/0.8141, allocations: 193.2 kB / 0.892 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.8153, allocations: 298.8 kB / 0.8923 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.8159, allocations: 227 kB / 0.8925 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.8159, allocations: 12 kB / 0.8925 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.8183, allocations: 1.021 MB / 0.8935 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.8185, allocations: 99.7 kB / 0.8936 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.8188, allocations: 184.8 kB / 0.8938 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.8206, allocations: 0.7517 MB / 0.8945 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8207, allocations: 0 / 0.8945 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8207, allocations: 0 / 0.8945 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.8207, allocations: 0 / 0.8945 GB, free: 0.8633 MB / 0.7012 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.001269/0.822, allocations: 0.6077 MB / 0.8951 GB, free: 208 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.822, allocations: 8.031 kB / 0.8951 GB, free: 200 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.8233, allocations: 155.3 kB / 0.8953 GB, free: 44 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.8239, allocations: 301.7 kB / 0.8955 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.8239, allocations: 20.42 kB / 0.8956 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.824, allocations: 24 kB / 0.8956 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/0.8245, allocations: 287.4 kB / 0.8959 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.8246, allocations: 0 / 0.8959 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.8246, allocations: 4 kB / 0.8959 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.8246, allocations: 11.98 kB / 0.8959 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004688/0.8251, allocations: 207.8 kB / 0.8961 GB, free: 15.14 MB / 0.7169 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.001793/0.8269, allocations: 1.217 MB / 0.8973 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.8272, allocations: 138.5 kB / 0.8974 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.8274, allocations: 96.8 kB / 0.8975 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006645/0.8281, allocations: 319.2 kB / 0.8978 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.8281, allocations: 46.42 kB / 0.8978 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/0.8281, allocations: 3.938 kB / 0.8978 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0008875/0.829, allocations: 300.6 kB / 0.8981 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.8291, allocations: 55.41 kB / 0.8982 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.8294, allocations: 312.5 kB / 0.8985 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.8295, allocations: 29.7 kB / 0.8985 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.8296, allocations: 176.2 kB / 0.8987 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.8297, allocations: 51.2 kB / 0.8987 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.8297, allocations: 25.7 kB / 0.8987 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.8299, allocations: 342.8 kB / 0.8991 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.8301, allocations: 67.95 kB / 0.8991 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.8303, allocations: 139.6 kB / 0.8993 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.8307, allocations: 197 kB / 0.8995 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8307, allocations: 0 / 0.8995 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005212/0.8312, allocations: 252.6 kB / 0.8997 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.8313, allocations: 12.09 kB / 0.8997 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.8313, allocations: 0 / 0.8997 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.8313, allocations: 4 kB / 0.8997 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.8315, allocations: 47.91 kB / 0.8998 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.8316, allocations: 4 kB / 0.8998 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.8318, allocations: 31.83 kB / 0.8998 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.8319, allocations: 15.94 kB / 0.8998 GB, free: 11.05 MB / 0.7169 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.0001736/0.8321, allocations: 153.7 kB / 0.9 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/0.8322, allocations: 35.62 kB / 0.9 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.8327, allocations: 220.3 kB / 0.9002 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.8327, allocations: 8 kB / 0.9002 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.8327, allocations: 0 / 0.9002 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.8327, allocations: 0 / 0.9002 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.8338, allocations: 0.6951 MB / 0.9009 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.8338, allocations: 3.938 kB / 0.9009 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.834, allocations: 35.97 kB / 0.9009 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.834, allocations: 8.219 kB / 0.9009 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.8341, allocations: 7.938 kB / 0.9009 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.8341, allocations: 0 / 0.9009 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.8341, allocations: 7.938 kB / 0.9009 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007009/0.8348, allocations: 453 kB / 0.9014 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.8349, allocations: 120.8 kB / 0.9015 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.835, allocations: 11.94 kB / 0.9015 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.8352, allocations: 11.98 kB / 0.9015 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.8352, allocations: 20.06 kB / 0.9015 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.8353, allocations: 12.05 kB / 0.9016 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002142/0.8355, allocations: 227 kB / 0.9018 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8355, allocations: 0 / 0.9018 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004092/0.8359, allocations: 83.84 kB / 0.9018 GB, free: 8.812 MB / 0.7169 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.0004289/0.8363, allocations: 155.8 kB / 0.902 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004388/0.8368, allocations: 188.6 kB / 0.9022 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8368, allocations: 0 / 0.9022 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.837, allocations: 92.45 kB / 0.9023 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.838, allocations: 170.2 kB / 0.9024 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.8391, allocations: 0.7296 MB / 0.9031 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.8395, allocations: 0.7797 MB / 0.9039 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002497/0.8397, allocations: 62.94 kB / 0.904 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.8398, allocations: 23.44 kB / 0.904 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of SimCode: time 6.61e-07/0.8398, allocations: 0 / 0.904 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of Templates: time 0.01164/0.8515, allocations: 5.439 MB / 0.9093 GB, free: 1.203 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: