Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001484/0.001484, allocations: 105.7 kB / 16.41 MB, free: 6.512 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.001582/0.001582, allocations: 187 kB / 17.34 MB, free: 5.734 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00235/0.00235, allocations: 291 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9392/0.9392, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 91.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4364, allocations: 86.98 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1766/0.6131, allocations: 167.3 MB / 0.9305 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.6161, allocations: 1.544 MB / 0.932 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/0.6166, allocations: 15.94 kB / 0.932 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.6172, allocations: 154.8 kB / 0.9322 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.6192, allocations: 0.7 MB / 0.9328 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.6209, allocations: 0.5984 MB / 0.9334 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009709/0.6219, allocations: 0.7051 MB / 0.9341 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.6223, allocations: 229.1 kB / 0.9343 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007648/0.6231, allocations: 342.8 kB / 0.9347 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.6235, allocations: 215.1 kB / 0.9349 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.6236, allocations: 28 kB / 0.9349 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.6253, allocations: 0.8689 MB / 0.9357 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.6254, allocations: 103.7 kB / 0.9358 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.6257, allocations: 171.1 kB / 0.936 GB, free: 6.234 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.6271, allocations: 0.7233 MB / 0.9367 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6271, allocations: 0 / 0.9367 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6271, allocations: 4 kB / 0.9367 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.6271, allocations: 0 / 0.9367 GB, free: 5.508 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.001091/0.6282, allocations: 0.6504 MB / 0.9373 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.6283, allocations: 8.031 kB / 0.9374 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.6295, allocations: 159.4 kB / 0.9375 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.63, allocations: 325.7 kB / 0.9378 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.6301, allocations: 12.44 kB / 0.9378 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.6301, allocations: 24 kB / 0.9379 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.6306, allocations: 283.3 kB / 0.9381 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.6307, allocations: 0 / 0.9381 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.6307, allocations: 8 kB / 0.9381 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.6307, allocations: 8 kB / 0.9381 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.6311, allocations: 195.8 kB / 0.9383 GB, free: 3.75 MB / 0.7012 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.001484/0.6326, allocations: 1.205 MB / 0.9395 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.6329, allocations: 134.5 kB / 0.9396 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.6331, allocations: 96.8 kB / 0.9397 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/0.6337, allocations: 295.2 kB / 0.94 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.6337, allocations: 38.5 kB / 0.94 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.6337, allocations: 4 kB / 0.94 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15): time 0.000785/0.6345, allocations: 285.3 kB / 0.9403 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.6346, allocations: 51.41 kB / 0.9404 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.6349, allocations: 312.5 kB / 0.9407 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.635, allocations: 33.64 kB / 0.9407 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.6351, allocations: 192 kB / 0.9409 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.6352, allocations: 47.3 kB / 0.9409 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.6352, allocations: 45.61 kB / 0.941 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6354, allocations: 342.8 kB / 0.9413 GB, free: 484 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.6355, allocations: 67.95 kB / 0.9414 GB, free: 416 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.6358, allocations: 130 kB / 0.9415 GB, free: 268 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.6361, allocations: 186.7 kB / 0.9417 GB, free: 64 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6361, allocations: 0 / 0.9417 GB, free: 64 kB / 0.7012 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00051/0.6366, allocations: 233.2 kB / 0.9419 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.6367, allocations: 11.98 kB / 0.9419 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.6367, allocations: 0 / 0.9419 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6367, allocations: 4 kB / 0.9419 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.6369, allocations: 43.92 kB / 0.9419 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6369, allocations: 0 / 0.9419 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.6371, allocations: 35.77 kB / 0.942 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.6372, allocations: 12 kB / 0.942 GB, free: 15.72 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.0001487/0.6373, allocations: 152.2 kB / 0.9421 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.6374, allocations: 35.56 kB / 0.9422 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.6379, allocations: 227.7 kB / 0.9424 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6379, allocations: 0 / 0.9424 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6379, allocations: 0 / 0.9424 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6379, allocations: 0 / 0.9424 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.639, allocations: 0.6914 MB / 0.9431 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.639, allocations: 0 / 0.9431 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.6392, allocations: 31.92 kB / 0.9431 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.6392, allocations: 7.938 kB / 0.9431 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.6392, allocations: 11.98 kB / 0.9431 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.6392, allocations: 4 kB / 0.9431 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6392, allocations: 0 / 0.9431 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.6399, allocations: 425.2 kB / 0.9435 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.64, allocations: 128.8 kB / 0.9436 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.6401, allocations: 11.92 kB / 0.9436 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.6403, allocations: 15.98 kB / 0.9437 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.6403, allocations: 15.86 kB / 0.9437 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.6403, allocations: 12 kB / 0.9437 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002155/0.6406, allocations: 227 kB / 0.9439 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6406, allocations: 0 / 0.9439 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004068/0.641, allocations: 79.91 kB / 0.944 GB, free: 13.53 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.0004696/0.6415, allocations: 159.1 kB / 0.9441 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.6419, allocations: 179.9 kB / 0.9443 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6419, allocations: 0 / 0.9443 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.6421, allocations: 91.8 kB / 0.9444 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009113/0.643, allocations: 177 kB / 0.9446 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.6441, allocations: 0.6113 MB / 0.9452 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.6445, allocations: 0.7795 MB / 0.9459 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.6446, allocations: 27.44 kB / 0.9459 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.6446, allocations: 0 / 0.9459 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of Templates: time 0.008618/0.6533, allocations: 4.837 MB / 0.9507 GB, free: 6.66 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)