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.0008511/0.000851, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009539/0.0009539, allocations: 188.4 kB / 16.92 MB, free: 6.684 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.254 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 1.032/1.032, allocations: 143.2 MB / 435.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 8 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1765, allocations: 83.41 MB / 0.5985 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5194/0.6959, allocations: 163 MB / 0.7577 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004983/0.7009, allocations: 1.55 MB / 0.7592 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004439/0.7014, allocations: 7.938 kB / 0.7592 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000714/0.7022, allocations: 111.2 kB / 0.7593 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.7052, allocations: 0.6731 MB / 0.76 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.7079, allocations: 0.5464 MB / 0.7605 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001819/0.7097, allocations: 0.9742 MB / 0.7614 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/0.7103, allocations: 193.5 kB / 0.7616 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.7114, allocations: 302.7 kB / 0.7619 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.7119, allocations: 223.1 kB / 0.7621 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.712, allocations: 12 kB / 0.7621 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.7151, allocations: 1.013 MB / 0.7631 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.7154, allocations: 103.7 kB / 0.7632 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.7157, allocations: 176.9 kB / 0.7634 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.7169, allocations: 0.5105 MB / 0.7639 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.7169, allocations: 0 / 0.7639 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.384e-06/0.7169, allocations: 0 / 0.7639 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.7169, allocations: 3.938 kB / 0.7639 GB, free: 2.73 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.00134/0.7183, allocations: 0.5996 MB / 0.7645 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.7184, allocations: 8.688 kB / 0.7645 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.7206, allocations: 151.5 kB / 0.7646 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.7213, allocations: 309.7 kB / 0.7649 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.7214, allocations: 20.38 kB / 0.7649 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.7215, allocations: 24 kB / 0.765 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008733/0.7224, allocations: 276.1 kB / 0.7652 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.7224, allocations: 3.938 kB / 0.7652 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.7225, allocations: 17.2 kB / 0.7653 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.7225, allocations: 4 kB / 0.7653 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008245/0.7233, allocations: 207.8 kB / 0.7655 GB, free: 1.023 MB / 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.002495/0.7258, allocations: 1.214 MB / 0.7666 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.7264, allocations: 139.1 kB / 0.7668 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.7267, allocations: 92.81 kB / 0.7669 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009599/0.7277, allocations: 327.2 kB / 0.7672 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.7277, allocations: 39.19 kB / 0.7672 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.995e-06/0.7277, allocations: 0 / 0.7672 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001418/0.7292, allocations: 298.8 kB / 0.7675 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.7292, allocations: 51.41 kB / 0.7675 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.7298, allocations: 316.5 kB / 0.7678 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.7299, allocations: 25.7 kB / 0.7679 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.7301, allocations: 189.1 kB / 0.7681 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.686e-05/0.7302, allocations: 51.28 kB / 0.7681 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.7303, allocations: 21.72 kB / 0.7681 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.7305, allocations: 338.8 kB / 0.7684 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.7309, allocations: 75.95 kB / 0.7685 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.7313, allocations: 126.3 kB / 0.7686 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.732, allocations: 203.3 kB / 0.7688 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7321, allocations: 4 kB / 0.7688 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000839/0.7329, allocations: 249.1 kB / 0.7691 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.733, allocations: 7.938 kB / 0.7691 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.733, allocations: 0 / 0.7691 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.733, allocations: 12.03 kB / 0.7691 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.7334, allocations: 47.92 kB / 0.7691 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.7334, allocations: 0 / 0.7691 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.7338, allocations: 38.78 kB / 0.7692 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.7339, allocations: 12 kB / 0.7692 GB, free: 12.94 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.0002612/0.7342, allocations: 161.6 kB / 0.7693 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.7343, allocations: 23.72 kB / 0.7694 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00084/0.7351, allocations: 225.4 kB / 0.7696 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.7352, allocations: 0 / 0.7696 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7352, allocations: 4 kB / 0.7696 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7352, allocations: 0 / 0.7696 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.7371, allocations: 0.699 MB / 0.7703 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.7371, allocations: 4 kB / 0.7703 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.7375, allocations: 27.98 kB / 0.7703 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.7375, allocations: 4 kB / 0.7703 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.7375, allocations: 12.16 kB / 0.7703 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.7375, allocations: 8 kB / 0.7703 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.7376, allocations: 3.938 kB / 0.7703 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.7388, allocations: 454.1 kB / 0.7708 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.7391, allocations: 124.8 kB / 0.7709 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.7391, allocations: 11.5 kB / 0.7709 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.7396, allocations: 23.92 kB / 0.7709 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.7396, allocations: 7.984 kB / 0.7709 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.7397, allocations: 12 kB / 0.7709 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003861/0.7401, allocations: 227 kB / 0.7711 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7401, allocations: 0 / 0.7711 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006867/0.7408, allocations: 72 kB / 0.7712 GB, free: 10.72 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.0005705/0.7414, allocations: 174.1 kB / 0.7714 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008051/0.7422, allocations: 179.8 kB / 0.7716 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7422, allocations: 3.938 kB / 0.7716 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.7426, allocations: 96.45 kB / 0.7716 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.7445, allocations: 160.5 kB / 0.7718 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.7464, allocations: 0.7598 MB / 0.7725 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.7469, allocations: 0.7758 MB / 0.7733 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.7471, allocations: 31.42 kB / 0.7733 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.7471, allocations: 0 / 0.7733 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.01389/0.761, allocations: 4.786 MB / 0.778 GB, free: 3.785 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)