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.009633/0.009633, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002148/0.002148, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.669/1.669, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.694/1.694, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001393/0.001393, allocations: 79.88 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2706, allocations: 104.7 MB / 0.828 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8853/1.156, allocations: 167.5 MB / 0.9916 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.003811/1.16, allocations: 1.603 MB / 0.9932 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000623/1.161, allocations: 15.97 kB / 0.9932 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007257/1.161, allocations: 146.5 kB / 0.9933 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002284/1.164, allocations: 0.6982 MB / 0.994 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/1.166, allocations: 0.6024 MB / 0.9946 GB, free: 8.934 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001003/1.167, allocations: 0.6994 MB / 0.9953 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004833/1.167, allocations: 236.8 kB / 0.9955 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007911/1.168, allocations: 330.8 kB / 0.9958 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/1.168, allocations: 220.2 kB / 0.996 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.826e-05/1.168, allocations: 23.84 kB / 0.9961 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/1.17, allocations: 0.8656 MB / 0.9969 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/1.17, allocations: 109.8 kB / 0.997 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/1.171, allocations: 169.9 kB / 0.9972 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/1.172, allocations: 0.7232 MB / 0.9979 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.172, allocations: 0 / 0.9979 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.555e-06/1.172, allocations: 3.938 kB / 0.9979 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.172, allocations: 3.938 kB / 0.9979 GB, free: 6.977 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.001015/1.173, allocations: 0.653 MB / 0.9985 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.173, allocations: 10.19 kB / 0.9985 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/1.174, allocations: 155.5 kB / 0.9987 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/1.175, allocations: 317.4 kB / 0.999 GB, free: 6.023 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/1.175, allocations: 22.45 kB / 0.999 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/1.175, allocations: 27.03 kB / 0.999 GB, free: 6 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/1.175, allocations: 274.4 kB / 0.9993 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/1.175, allocations: 6.406 kB / 0.9993 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/1.175, allocations: 6.781 kB / 0.9993 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.175, allocations: 5.031 kB / 0.9993 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/1.176, allocations: 199.2 kB / 0.9995 GB, free: 5.711 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.001405/1.177, allocations: 1.204 MB / 1.001 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/1.177, allocations: 135.8 kB / 1.001 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/1.178, allocations: 89.28 kB / 1.001 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005714/1.178, allocations: 318.2 kB / 1.001 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/1.178, allocations: 34.5 kB / 1.001 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/1.178, allocations: 2.094 kB / 1.001 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0007719/1.179, allocations: 285.2 kB / 1.002 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/1.179, allocations: 54.12 kB / 1.002 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/1.179, allocations: 312.2 kB / 1.002 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/1.179, allocations: 29.7 kB / 1.002 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/1.18, allocations: 179.3 kB / 1.002 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/1.18, allocations: 50.92 kB / 1.002 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/1.18, allocations: 46.77 kB / 1.002 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.18, allocations: 338.6 kB / 1.002 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/1.18, allocations: 67.02 kB / 1.003 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/1.18, allocations: 130.7 kB / 1.003 GB, free: 2.957 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/1.181, allocations: 193.3 kB / 1.003 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.181, allocations: 1.812 kB / 1.003 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004418/1.181, allocations: 241.9 kB / 1.003 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.181, allocations: 5.281 kB / 1.003 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.181, allocations: 2.531 kB / 1.003 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.181, allocations: 0 / 1.003 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/1.181, allocations: 48.59 kB / 1.003 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.181, allocations: 2.469 kB / 1.003 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/1.181, allocations: 29.83 kB / 1.003 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/1.182, allocations: 7.969 kB / 1.003 GB, free: 2.664 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.0001476/1.182, allocations: 161.3 kB / 1.003 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/1.182, allocations: 28.53 kB / 1.003 GB, free: 2.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/1.182, allocations: 217 kB / 1.004 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.182, allocations: 6.375 kB / 1.004 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.182, allocations: 0 / 1.004 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/1.182, allocations: 0 / 1.004 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/1.183, allocations: 0.6854 MB / 1.004 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.183, allocations: 0 / 1.004 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/1.184, allocations: 32.98 kB / 1.004 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/1.184, allocations: 2.469 kB / 1.004 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/1.184, allocations: 13.47 kB / 1.004 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.184, allocations: 2.281 kB / 1.004 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.184, allocations: 6.688 kB / 1.004 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/1.184, allocations: 438 kB / 1.005 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/1.184, allocations: 123.2 kB / 1.005 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/1.184, allocations: 6.844 kB / 1.005 GB, free: 1.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/1.185, allocations: 12.94 kB / 1.005 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/1.185, allocations: 11.98 kB / 1.005 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/1.185, allocations: 13.02 kB / 1.005 GB, free: 1.293 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002107/1.185, allocations: 221.9 kB / 1.005 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.185, allocations: 0 / 1.005 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004257/1.185, allocations: 77.83 kB / 1.005 GB, free: 1.141 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.0004421/1.186, allocations: 168.2 kB / 1.005 GB, free: 1.016 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00044/1.186, allocations: 175.6 kB / 1.005 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.186, allocations: 0 / 1.005 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/1.187, allocations: 83.52 kB / 1.006 GB, free: 0.9023 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008892/1.187, allocations: 176.8 kB / 1.006 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/1.189, allocations: 0.595 MB / 1.006 GB, free: 376 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/1.189, allocations: 0.7742 MB / 1.007 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002012/1.189, allocations: 63.61 kB / 1.007 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/1.189, allocations: 24.78 kB / 1.007 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of SimCode: time 4.01e-07/1.189, allocations: 4 kB / 1.007 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of Templates: time 0.0118/1.201, allocations: 5.782 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)