Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001699/0.001699, allocations: 189.9 kB / 16.14 MB, free: 6.688 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.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9682/0.9682, allocations: 143 MB / 433 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 63.91 kB / 0.5135 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1699, allocations: 82.05 MB / 0.5936 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4395/0.6094, allocations: 165.1 MB / 0.7549 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003071/0.6126, allocations: 1.569 MB / 0.7564 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003718/0.613, allocations: 11.94 kB / 0.7564 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.6135, allocations: 115.2 kB / 0.7565 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.6152, allocations: 0.677 MB / 0.7572 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.6167, allocations: 0.54 MB / 0.7577 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009783/0.6177, allocations: 0.9781 MB / 0.7587 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.618, allocations: 189.5 kB / 0.7589 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005408/0.6186, allocations: 306.7 kB / 0.7591 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.6188, allocations: 235 kB / 0.7594 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.6189, allocations: 15.94 kB / 0.7594 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.6204, allocations: 1.013 MB / 0.7604 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.6205, allocations: 95.7 kB / 0.7605 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.6207, allocations: 167.2 kB / 0.7606 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.6217, allocations: 0.7712 MB / 0.7614 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6217, allocations: 0 / 0.7614 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6217, allocations: 0 / 0.7614 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.6218, allocations: 0 / 0.7614 GB, free: 2.023 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009876/0.6227, allocations: 0.6464 MB / 0.762 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.6228, allocations: 12.03 kB / 0.762 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.624, allocations: 155.4 kB / 0.7622 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.6244, allocations: 305.7 kB / 0.7625 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.6244, allocations: 16.44 kB / 0.7625 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.6244, allocations: 20 kB / 0.7625 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.6249, allocations: 275.5 kB / 0.7628 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6249, allocations: 11.88 kB / 0.7628 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.625, allocations: 12 kB / 0.7628 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.625, allocations: 4 kB / 0.7628 GB, free: 484 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.6254, allocations: 195.8 kB / 0.763 GB, free: 288 kB / 0.5762 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.001384/0.6268, allocations: 1.206 MB / 0.7641 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.6271, allocations: 138.4 kB / 0.7643 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.6273, allocations: 92.8 kB / 0.7644 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006683/0.628, allocations: 303.2 kB / 0.7647 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.628, allocations: 42.48 kB / 0.7647 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.628, allocations: 0 / 0.7647 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008012/0.6288, allocations: 283.2 kB / 0.765 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.6289, allocations: 51.41 kB / 0.765 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.6292, allocations: 316.5 kB / 0.7653 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.6292, allocations: 33.7 kB / 0.7654 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.6294, allocations: 180.1 kB / 0.7655 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.6294, allocations: 47.3 kB / 0.7656 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.6295, allocations: 53.55 kB / 0.7656 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6296, allocations: 338.8 kB / 0.7659 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.6298, allocations: 67.95 kB / 0.766 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.63, allocations: 121 kB / 0.7661 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.6304, allocations: 196.1 kB / 0.7663 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6304, allocations: 0 / 0.7663 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000455/0.6309, allocations: 237.1 kB / 0.7665 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.6309, allocations: 8.625 kB / 0.7665 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6309, allocations: 4.094 kB / 0.7665 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.6309, allocations: 4 kB / 0.7666 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.6311, allocations: 41.61 kB / 0.7666 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.6311, allocations: 5.25 kB / 0.7666 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.6314, allocations: 35.72 kB / 0.7666 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.6314, allocations: 8 kB / 0.7666 GB, free: 12.26 MB / 0.5919 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.0001347/0.6315, allocations: 161.6 kB / 0.7668 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.6316, allocations: 31.62 kB / 0.7668 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.6321, allocations: 209.1 kB / 0.767 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6321, allocations: 0 / 0.767 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6321, allocations: 3.938 kB / 0.767 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6321, allocations: 0 / 0.767 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009842/0.6331, allocations: 0.6989 MB / 0.7677 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6331, allocations: 0 / 0.7677 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.6333, allocations: 32.2 kB / 0.7677 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.6333, allocations: 4 kB / 0.7677 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.6333, allocations: 7.938 kB / 0.7677 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.6333, allocations: 7.938 kB / 0.7678 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6333, allocations: 0 / 0.7678 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.634, allocations: 429.7 kB / 0.7682 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.6341, allocations: 124.7 kB / 0.7683 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.6342, allocations: 11.92 kB / 0.7683 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.6344, allocations: 19.98 kB / 0.7683 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.6344, allocations: 15.98 kB / 0.7683 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.6344, allocations: 4 kB / 0.7683 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002032/0.6346, allocations: 223.1 kB / 0.7685 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6346, allocations: 0 / 0.7685 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004006/0.6351, allocations: 87.89 kB / 0.7686 GB, free: 10.07 MB / 0.5919 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.000381/0.6355, allocations: 166.2 kB / 0.7688 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.6359, allocations: 183.8 kB / 0.769 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6359, allocations: 0 / 0.769 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.6361, allocations: 81.14 kB / 0.769 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/0.637, allocations: 162.1 kB / 0.7692 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.638, allocations: 0.681 MB / 0.7699 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.6383, allocations: 0.7836 MB / 0.7706 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000217/0.6386, allocations: 63.8 kB / 0.7707 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.6386, allocations: 23.44 kB / 0.7707 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of SimCode: time 1.733e-06/0.6386, allocations: 0 / 0.7707 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of Templates: time 0.01029/0.6489, allocations: 5.485 MB / 0.7761 GB, free: 2.52 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)