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.001388/0.001388, allocations: 106.2 kB / 16.4 MB, free: 6.418 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.001297/0.001297, allocations: 188 kB / 17.34 MB, free: 5.695 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.547/1.547, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 292.5 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.2 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 91.84 kB / 0.6821 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4451, allocations: 86.98 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.197/0.6421, allocations: 167.8 MB / 0.9309 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.6449, allocations: 1.551 MB / 0.9324 GB, free: 9.848 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.6452, allocations: 15.88 kB / 0.9325 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.6457, allocations: 150.9 kB / 0.9326 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.6473, allocations: 0.7391 MB / 0.9333 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.6488, allocations: 0.6101 MB / 0.9339 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008785/0.6497, allocations: 0.6973 MB / 0.9346 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.6501, allocations: 197.1 kB / 0.9348 GB, free: 7.441 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006086/0.6507, allocations: 346.7 kB / 0.9351 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.651, allocations: 227.1 kB / 0.9353 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.651, allocations: 20 kB / 0.9354 GB, free: 6.859 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.6525, allocations: 0.869 MB / 0.9362 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.6526, allocations: 115.6 kB / 0.9363 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.6528, allocations: 159.3 kB / 0.9365 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.6539, allocations: 0.7301 MB / 0.9372 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6539, allocations: 3.938 kB / 0.9372 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6539, allocations: 0 / 0.9372 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.6539, allocations: 0 / 0.9372 GB, free: 4.988 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.0009844/0.6549, allocations: 0.6576 MB / 0.9378 GB, free: 4.281 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.6549, allocations: 8.031 kB / 0.9378 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.6561, allocations: 163.6 kB / 0.938 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.6567, allocations: 321.8 kB / 0.9383 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.6567, allocations: 24.44 kB / 0.9383 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.6568, allocations: 27.95 kB / 0.9384 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/0.6573, allocations: 275.4 kB / 0.9386 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.6573, allocations: 4 kB / 0.9386 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.6574, allocations: 4 kB / 0.9386 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.6574, allocations: 8 kB / 0.9386 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.6578, allocations: 203.7 kB / 0.9388 GB, free: 3.207 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.001559/0.6594, allocations: 1.198 MB / 0.94 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.6597, allocations: 134.4 kB / 0.9401 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.6599, allocations: 88.73 kB / 0.9402 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006237/0.6605, allocations: 299.2 kB / 0.9405 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.6605, allocations: 42.48 kB / 0.9405 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/0.6605, allocations: 0 / 0.9405 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15): time 0.0008116/0.6613, allocations: 280.5 kB / 0.9408 GB, free: 1 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.6614, allocations: 55.39 kB / 0.9409 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.6618, allocations: 316.8 kB / 0.9412 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.6618, allocations: 29.7 kB / 0.9412 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.6619, allocations: 180.3 kB / 0.9414 GB, free: 408 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.662, allocations: 51.59 kB / 0.9414 GB, free: 356 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/0.6621, allocations: 49.66 kB / 0.9415 GB, free: 300 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.6623, allocations: 342.8 kB / 0.9418 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.6624, allocations: 71.89 kB / 0.9418 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.6627, allocations: 126.7 kB / 0.942 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.6631, allocations: 190.9 kB / 0.9421 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6631, allocations: 0 / 0.9421 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005047/0.6636, allocations: 237.3 kB / 0.9424 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6636, allocations: 4 kB / 0.9424 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6636, allocations: 7.938 kB / 0.9424 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6636, allocations: 0 / 0.9424 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.6638, allocations: 43.92 kB / 0.9424 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.6639, allocations: 4 kB / 0.9424 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.6641, allocations: 35.77 kB / 0.9425 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.6641, allocations: 8 kB / 0.9425 GB, free: 15.2 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.0001663/0.6643, allocations: 164.2 kB / 0.9426 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.6643, allocations: 27.81 kB / 0.9427 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.6648, allocations: 220.3 kB / 0.9429 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.6648, allocations: 0 / 0.9429 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6648, allocations: 0 / 0.9429 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6648, allocations: 0 / 0.9429 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.666, allocations: 0.6912 MB / 0.9435 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.666, allocations: 0 / 0.9435 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.6661, allocations: 40.12 kB / 0.9436 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.6661, allocations: 7.938 kB / 0.9436 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.6662, allocations: 8 kB / 0.9436 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.6662, allocations: 3.938 kB / 0.9436 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6662, allocations: 4.141 kB / 0.9436 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.6669, allocations: 429.2 kB / 0.944 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.667, allocations: 124.8 kB / 0.9441 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.6671, allocations: 7.938 kB / 0.9441 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.6672, allocations: 20.05 kB / 0.9442 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.6673, allocations: 7.984 kB / 0.9442 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.6673, allocations: 12 kB / 0.9442 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002405/0.6675, allocations: 223 kB / 0.9444 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6675, allocations: 4 kB / 0.9444 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000415/0.668, allocations: 71.94 kB / 0.9445 GB, free: 13.01 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.0004053/0.6684, allocations: 180.1 kB / 0.9446 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.6688, allocations: 163.8 kB / 0.9448 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6688, allocations: 192 / 0.9448 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.669, allocations: 95.75 kB / 0.9449 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009024/0.6699, allocations: 164.9 kB / 0.945 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.671, allocations: 0.6046 MB / 0.9456 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.6715, allocations: 0.7795 MB / 0.9464 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.6717, allocations: 67.06 kB / 0.9465 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.6718, allocations: 35.44 kB / 0.9465 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/0.6718, allocations: 3.938 kB / 0.9465 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of Templates: time 0.01222/0.684, allocations: 5.788 MB / 0.9521 GB, free: 5.18 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)