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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001099/0.001099, allocations: 108 kB / 15.61 MB, free: 152 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.001125/0.001125, allocations: 195 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 68.31 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3979, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2006/0.5986, allocations: 167.4 MB / 1.232 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.6016, allocations: 1.537 MB / 1.233 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.6019, allocations: 11.94 kB / 1.233 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.6024, allocations: 158.8 kB / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.6042, allocations: 0.6961 MB / 1.234 GB, free: 16 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.6057, allocations: 0.5992 MB / 1.235 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007015/0.6064, allocations: 0.7012 MB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.6068, allocations: 225.2 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005415/0.6073, allocations: 334.7 kB / 1.236 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.6076, allocations: 223.1 kB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.6076, allocations: 23.94 kB / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.609, allocations: 0.8728 MB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.6091, allocations: 107.7 kB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.6093, allocations: 167.2 kB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009682/0.6103, allocations: 0.713 MB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6103, allocations: 0 / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6103, allocations: 3.938 kB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.6103, allocations: 0 / 1.238 GB, free: 12.06 MB / 0.9981 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.0009154/0.6112, allocations: 0.6543 MB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.6113, allocations: 8.031 kB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.6124, allocations: 151.5 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.6128, allocations: 305.7 kB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.6128, allocations: 16.44 kB / 1.239 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.6129, allocations: 24 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.6133, allocations: 279.4 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6134, allocations: 3.938 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.6134, allocations: 12 kB / 1.239 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.6134, allocations: 4 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.6138, allocations: 195.8 kB / 1.239 GB, free: 10.31 MB / 0.9981 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.00133/0.6152, allocations: 1.213 MB / 1.241 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.6154, allocations: 138.4 kB / 1.241 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.6156, allocations: 92.81 kB / 1.241 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006133/0.6162, allocations: 303.2 kB / 1.241 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.6163, allocations: 34.5 kB / 1.241 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.6163, allocations: 0 / 1.241 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007541/0.6171, allocations: 281.4 kB / 1.241 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.6171, allocations: 51.41 kB / 1.241 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.6174, allocations: 316.5 kB / 1.242 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.6174, allocations: 25.7 kB / 1.242 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.6176, allocations: 192 kB / 1.242 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.6176, allocations: 51.34 kB / 1.242 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.6177, allocations: 49.55 kB / 1.242 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6179, allocations: 338.8 kB / 1.242 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.618, allocations: 63.95 kB / 1.242 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.6182, allocations: 126 kB / 1.243 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.6186, allocations: 188.1 kB / 1.243 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.6186, allocations: 0 / 1.243 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004547/0.6191, allocations: 245.2 kB / 1.243 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6191, allocations: 8 kB / 1.243 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6191, allocations: 0 / 1.243 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.6191, allocations: 4 kB / 1.243 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.6193, allocations: 43.91 kB / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.6193, allocations: 0 / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.6195, allocations: 31.83 kB / 1.243 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.6196, allocations: 20.08 kB / 1.243 GB, free: 6.281 MB / 0.9981 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.0001485/0.6197, allocations: 149.7 kB / 1.243 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-05/0.6198, allocations: 35.61 kB / 1.243 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.6203, allocations: 214.2 kB / 1.243 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.6203, allocations: 3.938 kB / 1.243 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.6203, allocations: 0 / 1.243 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6204, allocations: 4 kB / 1.243 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.6214, allocations: 0.6913 MB / 1.244 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6214, allocations: 0 / 1.244 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.6216, allocations: 31.97 kB / 1.244 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.6216, allocations: 7.938 kB / 1.244 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.6216, allocations: 8 kB / 1.244 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.6216, allocations: 7.938 kB / 1.244 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6216, allocations: 0 / 1.244 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006477/0.6223, allocations: 430.9 kB / 1.245 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.6224, allocations: 124.8 kB / 1.245 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.6224, allocations: 7.922 kB / 1.245 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.6226, allocations: 12 kB / 1.245 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.6227, allocations: 7.984 kB / 1.245 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.6227, allocations: 12 kB / 1.245 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000224/0.6229, allocations: 227 kB / 1.245 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6229, allocations: 3.938 kB / 1.245 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003994/0.6233, allocations: 83.84 kB / 1.245 GB, free: 4.102 MB / 0.9981 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.0004084/0.6238, allocations: 170.2 kB / 1.245 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.6242, allocations: 171.9 kB / 1.245 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6242, allocations: 12.06 kB / 1.245 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.6244, allocations: 83.83 kB / 1.245 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000864/0.6253, allocations: 177.8 kB / 1.246 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.6263, allocations: 0.6054 MB / 1.246 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.6267, allocations: 0.7756 MB / 1.247 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.627, allocations: 58.94 kB / 1.247 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.6271, allocations: 27.44 kB / 1.247 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.6271, allocations: 0 / 1.247 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of Templates: time 0.5363/1.163, allocations: 5.733 MB / 1.253 GB, free: 185.6 MB / 0.9981 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)