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.005955/0.005955, allocations: 98.69 kB / 15.73 MB, free: 6.004 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.001335/0.001335, allocations: 193 kB / 16.67 MB, free: 5.93 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.671/1.671, allocations: 205.1 MB / 222.5 MB, free: 4.316 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.6421/0.6421, allocations: 95.47 MB / 365.4 MB, free: 9.68 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.001476/0.001477, allocations: 67.89 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1756, allocations: 69.09 MB / 0.5711 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7317/0.9074, allocations: 185.1 MB / 0.7518 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003104/0.9106, allocations: 1.268 MB / 0.7531 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004637/0.9112, allocations: 15.88 kB / 0.7531 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009441/0.9121, allocations: 242.4 kB / 0.7533 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.9139, allocations: 0.614 MB / 0.7539 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004103/0.918, allocations: 1.365 MB / 0.7553 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001757/0.9198, allocations: 1.107 MB / 0.7563 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005487/0.9203, allocations: 342.6 kB / 0.7567 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.9213, allocations: 466.3 kB / 0.7571 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.9219, allocations: 374.5 kB / 0.7575 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.922, allocations: 48 kB / 0.7575 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.9256, allocations: 1.52 MB / 0.759 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.9259, allocations: 199.5 kB / 0.7592 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.9263, allocations: 306.6 kB / 0.7595 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003301/0.9296, allocations: 1.518 MB / 0.761 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.9296, allocations: 0 / 0.761 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9296, allocations: 4 kB / 0.761 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.9297, allocations: 0 / 0.761 GB, free: 11.9 MB / 0.5762 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.002044/0.9317, allocations: 0.9957 MB / 0.7619 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.9318, allocations: 15.98 kB / 0.762 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.9321, allocations: 59.67 kB / 0.762 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.9328, allocations: 434.5 kB / 0.7624 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.9328, allocations: 32.5 kB / 0.7625 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-05/0.9329, allocations: 36 kB / 0.7625 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009135/0.9338, allocations: 0.4911 MB / 0.763 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.9339, allocations: 0 / 0.763 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.9339, allocations: 20 kB / 0.763 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.9339, allocations: 11.98 kB / 0.763 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000865/0.9348, allocations: 479.6 kB / 0.7635 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.9382, allocations: 2.273 MB / 0.7657 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.9386, allocations: 158.3 kB / 0.7658 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.9389, allocations: 116.7 kB / 0.7659 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007303/0.9396, allocations: 481.4 kB / 0.7664 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.9397, allocations: 34.56 kB / 0.7664 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 5.511e-06/0.9397, allocations: 0 / 0.7664 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.0009817/0.9407, allocations: 419.2 kB / 0.7668 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.9407, allocations: 55.41 kB / 0.7669 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/0.9413, allocations: 0.5019 MB / 0.7674 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.9414, allocations: 33.7 kB / 0.7674 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.9416, allocations: 260.3 kB / 0.7677 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/0.9417, allocations: 95.22 kB / 0.7677 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.9419, allocations: 73.64 kB / 0.7678 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.942, allocations: 358.7 kB / 0.7682 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.9423, allocations: 135.8 kB / 0.7683 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.9427, allocations: 214.7 kB / 0.7685 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006072/0.9433, allocations: 351.1 kB / 0.7688 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9433, allocations: 0 / 0.7688 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008699/0.9442, allocations: 447.7 kB / 0.7693 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.9442, allocations: 8 kB / 0.7693 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.9442, allocations: 1.125 kB / 0.7693 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.9443, allocations: 4 kB / 0.7693 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.9447, allocations: 83.83 kB / 0.7694 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.9447, allocations: 11.92 kB / 0.7694 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.9451, allocations: 47.88 kB / 0.7694 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.9451, allocations: 23.98 kB / 0.7694 GB, free: 2.66 MB / 0.5762 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.0002315/0.9454, allocations: 177.8 kB / 0.7696 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.9455, allocations: 55.67 kB / 0.7697 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008496/0.9463, allocations: 428.3 kB / 0.7701 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.9463, allocations: 3.938 kB / 0.7701 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.9464, allocations: 0 / 0.7701 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.9464, allocations: 7.938 kB / 0.7701 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.9476, allocations: 0.8855 MB / 0.7709 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.9477, allocations: 0 / 0.7709 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.9479, allocations: 43.91 kB / 0.771 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.9479, allocations: 3.938 kB / 0.771 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.9479, allocations: 8 kB / 0.771 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.9479, allocations: 4 kB / 0.771 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9479, allocations: 0 / 0.771 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/0.9489, allocations: 0.5185 MB / 0.7715 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.9491, allocations: 160.7 kB / 0.7717 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.427e-05/0.9492, allocations: 19.89 kB / 0.7717 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.9496, allocations: 11.98 kB / 0.7717 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.9497, allocations: 23.91 kB / 0.7717 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.9497, allocations: 19.94 kB / 0.7717 GB, free: 164 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006358/0.9503, allocations: 0.491 MB / 0.7722 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9504, allocations: 4.062 kB / 0.7722 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00111/0.9515, allocations: 323.1 kB / 0.7725 GB, free: 15.35 MB / 0.5919 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.001035/0.9525, allocations: 427.1 kB / 0.7729 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006696/0.9532, allocations: 276.5 kB / 0.7732 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.9532, allocations: 4 kB / 0.7732 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.9534, allocations: 108.6 kB / 0.7733 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.9549, allocations: 317.4 kB / 0.7736 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.9566, allocations: 0.9006 MB / 0.7745 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.9572, allocations: 0.8504 MB / 0.7753 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004696/0.9577, allocations: 120.5 kB / 0.7754 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.9578, allocations: 43.42 kB / 0.7755 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of SimCode: time 7.21e-07/0.9578, allocations: 4 kB / 0.7755 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.02773/0.9856, allocations: 14.95 MB / 0.7901 GB, free: 13.42 MB / 0.6075 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)