Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009136/0.0009136, allocations: 175.2 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205 MB / 0.5766 GB, free: 20.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008033/0.0008031, allocations: 95.06 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 8.906 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2258, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.683/0.9088, allocations: 165.1 MB / 1.058 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00729/0.9161, allocations: 6.605 MB / 1.064 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005378/0.9167, allocations: 12.06 kB / 1.064 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.9173, allocations: 134.8 kB / 1.065 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.9197, allocations: 0.794 MB / 1.065 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.9207, allocations: 289.7 kB / 1.066 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.9219, allocations: 1.039 MB / 1.067 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004146/0.9223, allocations: 237.3 kB / 1.067 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.9235, allocations: 0.5135 MB / 1.067 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004906/0.924, allocations: 285.6 kB / 1.068 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.9241, allocations: 18.62 kB / 1.068 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000915/0.925, allocations: 392.5 kB / 1.068 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.9252, allocations: 106 kB / 1.068 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.9254, allocations: 151.1 kB / 1.068 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.9261, allocations: 340.9 kB / 1.069 GB, free: 1.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9261, allocations: 4 kB / 1.069 GB, free: 1.746 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.245e-06/0.9261, allocations: 0 / 1.069 GB, free: 1.746 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.046e-06/0.9261, allocations: 0.8438 kB / 1.069 GB, free: 1.746 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00112/0.9272, allocations: 0.5762 MB / 1.069 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.9273, allocations: 9.625 kB / 1.069 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.9276, allocations: 62.84 kB / 1.069 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.9281, allocations: 320.4 kB / 1.07 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.9282, allocations: 18.31 kB / 1.07 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.9283, allocations: 28.69 kB / 1.07 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/0.9289, allocations: 311.5 kB / 1.07 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.9289, allocations: 0 / 1.07 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.929, allocations: 11.47 kB / 1.07 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.929, allocations: 5.875 kB / 1.07 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.9295, allocations: 234.2 kB / 1.07 GB, free: 16.96 MB / 0.7136 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.001734/0.9313, allocations: 1.151 MB / 1.071 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.9318, allocations: 197.7 kB / 1.071 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.9321, allocations: 115.8 kB / 1.072 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006931/0.9328, allocations: 320 kB / 1.072 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.9328, allocations: 40.66 kB / 1.072 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.9328, allocations: 6.609 kB / 1.072 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0009964/0.9338, allocations: 355 kB / 1.072 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.9339, allocations: 58.22 kB / 1.072 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.9343, allocations: 300.3 kB / 1.073 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.9343, allocations: 26.55 kB / 1.073 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.9345, allocations: 170.3 kB / 1.073 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.9346, allocations: 62.03 kB / 1.073 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.9346, allocations: 22.52 kB / 1.073 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.9348, allocations: 339.4 kB / 1.073 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.935, allocations: 87.19 kB / 1.073 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.9353, allocations: 116.2 kB / 1.073 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.9357, allocations: 203.6 kB / 1.074 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9358, allocations: 0 / 1.074 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000575/0.9363, allocations: 254.8 kB / 1.074 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.9364, allocations: 6.562 kB / 1.074 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.9364, allocations: 0 / 1.074 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.9364, allocations: 5.531 kB / 1.074 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.9366, allocations: 47.73 kB / 1.074 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.9366, allocations: 1.906 kB / 1.074 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.9369, allocations: 41.25 kB / 1.074 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.9369, allocations: 10.69 kB / 1.074 GB, free: 15.07 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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.0001693/0.9371, allocations: 158.1 kB / 1.074 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.9372, allocations: 26.48 kB / 1.074 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005975/0.9378, allocations: 279.4 kB / 1.074 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.9378, allocations: 3.5 kB / 1.074 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9378, allocations: 0.75 kB / 1.074 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.9378, allocations: 1.547 kB / 1.074 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.939, allocations: 0.7735 MB / 1.075 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.939, allocations: 2.531 kB / 1.075 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.9392, allocations: 44.89 kB / 1.075 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.9392, allocations: 3.375 kB / 1.075 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.9393, allocations: 12.52 kB / 1.075 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.9393, allocations: 6.094 kB / 1.075 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.9393, allocations: 3.953 kB / 1.075 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/0.9401, allocations: 0.5068 MB / 1.076 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.9402, allocations: 126.9 kB / 1.076 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.9403, allocations: 8.328 kB / 1.076 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.9405, allocations: 18.77 kB / 1.076 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.9406, allocations: 17.03 kB / 1.076 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.9406, allocations: 12.53 kB / 1.076 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002392/0.9408, allocations: 218.1 kB / 1.076 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9408, allocations: 0 / 1.076 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004247/0.9413, allocations: 79.86 kB / 1.076 GB, free: 14.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senH_flow.h_out,senH.h_out) * 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 (19): * Single equations (assignments): 19 * 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.0004185/0.9417, allocations: 161.3 kB / 1.076 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005324/0.9422, allocations: 204.6 kB / 1.076 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9422, allocations: 0 / 1.076 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.9425, allocations: 116.8 kB / 1.077 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/0.9434, allocations: 157.8 kB / 1.077 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.9446, allocations: 0.8017 MB / 1.078 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.945, allocations: 0.7807 MB / 1.078 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.46e-05/0.9451, allocations: 31.98 kB / 1.078 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of SimCode: time 4e-07/0.9451, allocations: 1.469 kB / 1.078 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.008185/0.9533, allocations: 4.786 MB / 1.083 GB, free: 12.39 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)