Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001083/0.001083, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001077/0.001077, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.547/1.547, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.623/0.623, allocations: 95.48 MB / 364.8 MB, free: 10.09 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 75.89 kB / 444.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4213, allocations: 69.07 MB / 0.5017 GB, free: 17.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6777/1.099, allocations: 183.4 MB / 0.6808 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003254/1.102, allocations: 1.33 MB / 0.6821 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/1.103, allocations: 16.03 kB / 0.6821 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008457/1.104, allocations: 202.2 kB / 0.6823 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/1.105, allocations: 0.5949 MB / 0.6829 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004598/1.11, allocations: 1.229 MB / 0.6841 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001872/1.112, allocations: 1.529 MB / 0.6856 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/1.112, allocations: 292.8 kB / 0.6859 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008158/1.113, allocations: 421.4 kB / 0.6863 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005196/1.113, allocations: 387.9 kB / 0.6866 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.263e-05/1.114, allocations: 25.56 kB / 0.6867 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/1.117, allocations: 1.709 MB / 0.6883 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/1.118, allocations: 172.8 kB / 0.6885 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003944/1.118, allocations: 284.6 kB / 0.6888 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003027/1.121, allocations: 1.557 MB / 0.6903 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.121, allocations: 2.781 kB / 0.6903 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/1.121, allocations: 0 / 0.6903 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.121, allocations: 0 / 0.6903 GB, free: 8.102 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.002042/1.123, allocations: 0.9647 MB / 0.6912 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.123, allocations: 11.39 kB / 0.6912 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002968/1.124, allocations: 62.41 kB / 0.6913 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/1.124, allocations: 410.1 kB / 0.6917 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/1.124, allocations: 28.94 kB / 0.6917 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/1.124, allocations: 32.91 kB / 0.6918 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/1.125, allocations: 0.5018 MB / 0.6922 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/1.125, allocations: 0 / 0.6922 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/1.125, allocations: 18.22 kB / 0.6923 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/1.125, allocations: 7.812 kB / 0.6923 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008664/1.126, allocations: 471.9 kB / 0.6927 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/1.13, allocations: 2.283 MB / 0.6949 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/1.13, allocations: 157.7 kB / 0.6951 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/1.13, allocations: 110.1 kB / 0.6952 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000727/1.131, allocations: 485.8 kB / 0.6957 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/1.131, allocations: 36.38 kB / 0.6957 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/1.131, allocations: 6.469 kB / 0.6957 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.0009169/1.132, allocations: 408.2 kB / 0.6961 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/1.132, allocations: 56.59 kB / 0.6962 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005605/1.133, allocations: 0.5005 MB / 0.6966 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/1.133, allocations: 29.02 kB / 0.6967 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/1.133, allocations: 256.3 kB / 0.6969 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/1.133, allocations: 91.23 kB / 0.697 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/1.133, allocations: 77.31 kB / 0.6971 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.133, allocations: 356.2 kB / 0.6974 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/1.133, allocations: 133.1 kB / 0.6975 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/1.134, allocations: 219.7 kB / 0.6977 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/1.134, allocations: 343.9 kB / 0.6981 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.134, allocations: 0 / 0.6981 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007933/1.135, allocations: 447.5 kB / 0.6985 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.135, allocations: 7.281 kB / 0.6985 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.135, allocations: 2.812 kB / 0.6985 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.135, allocations: 4.75 kB / 0.6985 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/1.136, allocations: 85.38 kB / 0.6986 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.136, allocations: 8.75 kB / 0.6986 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/1.136, allocations: 62.23 kB / 0.6987 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/1.136, allocations: 18.94 kB / 0.6987 GB, free: 2.941 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 41 * 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.0001967/1.136, allocations: 176.8 kB / 0.6989 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.931e-05/1.136, allocations: 48.81 kB / 0.6989 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007927/1.137, allocations: 429.5 kB / 0.6993 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/1.137, allocations: 6.094 kB / 0.6993 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.137, allocations: 10.84 kB / 0.6993 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.137, allocations: 3.984 kB / 0.6993 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/1.138, allocations: 0.8788 MB / 0.7002 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.138, allocations: 6.312 kB / 0.7002 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/1.139, allocations: 38.36 kB / 0.7002 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/1.139, allocations: 2.719 kB / 0.7002 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/1.139, allocations: 5.531 kB / 0.7002 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.139, allocations: 6.797 kB / 0.7002 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.139, allocations: 1.938 kB / 0.7002 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/1.139, allocations: 0.504 MB / 0.7007 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/1.14, allocations: 158.3 kB / 0.7009 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.339e-05/1.14, allocations: 21.73 kB / 0.7009 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/1.14, allocations: 24.48 kB / 0.7009 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/1.14, allocations: 19.27 kB / 0.701 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/1.14, allocations: 21.58 kB / 0.701 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006054/1.141, allocations: 0.4958 MB / 0.7015 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.141, allocations: 0 / 0.7015 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00111/1.142, allocations: 310.5 kB / 0.7018 GB, free: 1.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.001028/1.143, allocations: 434.8 kB / 0.7022 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005946/1.144, allocations: 277.7 kB / 0.7024 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.144, allocations: 0 / 0.7024 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/1.144, allocations: 108.3 kB / 0.7025 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/1.145, allocations: 296.8 kB / 0.7028 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/1.147, allocations: 1.047 MB / 0.7038 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/1.147, allocations: 0.856 MB / 0.7047 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004063/1.148, allocations: 109.1 kB / 0.7048 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/1.148, allocations: 44.67 kB / 0.7048 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/1.148, allocations: 0 / 0.7048 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.02385/1.172, allocations: 14.4 MB / 0.7189 GB, free: 3.281 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)