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.001557/0.001557, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.9947/0.9947, allocations: 143 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 63.91 kB / 0.5142 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1679, allocations: 82.03 MB / 0.5943 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4434/0.6113, allocations: 167.4 MB / 0.7577 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003885/0.6153, allocations: 1.565 MB / 0.7593 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005091/0.6158, allocations: 7.938 kB / 0.7593 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006672/0.6165, allocations: 146.9 kB / 0.7594 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.619, allocations: 0.7078 MB / 0.7601 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.6209, allocations: 0.5915 MB / 0.7607 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.6222, allocations: 0.7012 MB / 0.7614 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.6227, allocations: 233 kB / 0.7616 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008033/0.6235, allocations: 338.7 kB / 0.7619 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.624, allocations: 215.1 kB / 0.7621 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.704e-05/0.6241, allocations: 20 kB / 0.7621 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.6261, allocations: 0.8689 MB / 0.763 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.6263, allocations: 111.7 kB / 0.7631 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.6266, allocations: 159.2 kB / 0.7632 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.6281, allocations: 0.7324 MB / 0.764 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6282, allocations: 0 / 0.764 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6282, allocations: 0 / 0.764 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.6282, allocations: 0 / 0.764 GB, free: 15.49 MB / 0.5919 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.001344/0.6295, allocations: 0.6503 MB / 0.7646 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6296, allocations: 8.031 kB / 0.7646 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.6316, allocations: 151.5 kB / 0.7647 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.6322, allocations: 309.7 kB / 0.765 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.6323, allocations: 20.44 kB / 0.7651 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/0.6323, allocations: 16 kB / 0.7651 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007104/0.633, allocations: 275.5 kB / 0.7653 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.6331, allocations: 3.938 kB / 0.7653 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.6331, allocations: 16 kB / 0.7654 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.6332, allocations: 4 kB / 0.7654 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006637/0.6338, allocations: 195.8 kB / 0.7655 GB, free: 13.75 MB / 0.5919 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.002036/0.6359, allocations: 1.219 MB / 0.7667 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.6364, allocations: 134.5 kB / 0.7669 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.6366, allocations: 89.31 kB / 0.767 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008577/0.6375, allocations: 307.2 kB / 0.7672 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.6376, allocations: 42.44 kB / 0.7673 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.304e-06/0.6376, allocations: 0 / 0.7673 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001161/0.6387, allocations: 282.4 kB / 0.7676 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.6388, allocations: 55.41 kB / 0.7676 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.6392, allocations: 308.5 kB / 0.7679 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.6392, allocations: 33.7 kB / 0.7679 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.6394, allocations: 184.1 kB / 0.7681 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.6394, allocations: 47.3 kB / 0.7682 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.6396, allocations: 49.61 kB / 0.7682 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6398, allocations: 338.8 kB / 0.7685 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.64, allocations: 68.58 kB / 0.7686 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.6404, allocations: 128.2 kB / 0.7687 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.641, allocations: 203.5 kB / 0.7689 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.641, allocations: 0 / 0.7689 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007177/0.6417, allocations: 233.2 kB / 0.7691 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.6417, allocations: 12.72 kB / 0.7691 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6418, allocations: 0.5625 kB / 0.7691 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6418, allocations: 4 kB / 0.7691 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.642, allocations: 43.91 kB / 0.7692 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.642, allocations: 4 kB / 0.7692 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.6422, allocations: 25.44 kB / 0.7692 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.6422, allocations: 11.98 kB / 0.7692 GB, free: 9.723 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.0001341/0.6424, allocations: 157.6 kB / 0.7694 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.6424, allocations: 39.56 kB / 0.7694 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000453/0.6429, allocations: 209.7 kB / 0.7696 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6429, allocations: 4 kB / 0.7696 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6429, allocations: 0 / 0.7696 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6429, allocations: 0 / 0.7696 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000986/0.6439, allocations: 0.6849 MB / 0.7703 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.6439, allocations: 7.938 kB / 0.7703 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.6441, allocations: 31.97 kB / 0.7703 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6441, allocations: 4.219 kB / 0.7703 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.6441, allocations: 7.938 kB / 0.7703 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.6442, allocations: 4 kB / 0.7703 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.6442, allocations: 4.5 kB / 0.7703 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.6448, allocations: 431.2 kB / 0.7708 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.6449, allocations: 124.7 kB / 0.7709 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.645, allocations: 15.92 kB / 0.7709 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.6452, allocations: 4.75 kB / 0.7709 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.6452, allocations: 23.92 kB / 0.7709 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.6453, allocations: 4 kB / 0.7709 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002205/0.6455, allocations: 227 kB / 0.7711 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6455, allocations: 0 / 0.7711 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004313/0.6459, allocations: 83.91 kB / 0.7712 GB, free: 7.539 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.0003805/0.6463, allocations: 172.6 kB / 0.7714 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004453/0.6468, allocations: 183.6 kB / 0.7716 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6468, allocations: 0 / 0.7716 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.647, allocations: 92.02 kB / 0.7716 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008884/0.6479, allocations: 155.2 kB / 0.7718 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/0.6489, allocations: 0.6043 MB / 0.7724 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.6492, allocations: 0.7794 MB / 0.7731 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002294/0.6494, allocations: 68.36 kB / 0.7732 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.6495, allocations: 23.44 kB / 0.7732 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.6495, allocations: 7.875 kB / 0.7732 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of Templates: time 0.01055/0.6601, allocations: 5.761 MB / 0.7789 GB, free: 15.78 MB / 0.6075 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)