Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.00108, allocations: 108.1 kB / 17.03 MB, free: 5.656 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: 190.9 kB / 17.97 MB, free: 5.062 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.251/1.251, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6694/0.6694, allocations: 115.1 MB / 406.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 71.84 kB / 494.8 MB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3505, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.1789/0.5294, allocations: 185 MB / 0.7383 GB, free: 10.97 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.009107/0.5385, allocations: 6.983 MB / 0.7451 GB, free: 3.969 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008679/0.5394, allocations: 27.88 kB / 0.7451 GB, free: 3.941 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.5405, allocations: 401.4 kB / 0.7455 GB, free: 3.547 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.5436, allocations: 1.449 MB / 0.7469 GB, free: 2.094 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.5462, allocations: 1.163 MB / 0.748 GB, free: 0.9336 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.3264/0.8727, allocations: 1.931 MB / 0.7499 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.8741, allocations: 0.659 MB / 0.7506 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.8765, allocations: 0.8193 MB / 0.7514 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.8786, allocations: 0.6012 MB / 0.7519 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.8789, allocations: 68.81 kB / 0.752 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004385/0.8833, allocations: 1.925 MB / 0.7539 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0005884/0.8839, allocations: 292.5 kB / 0.7542 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.885, allocations: 429.7 kB / 0.7546 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.00423/0.8892, allocations: 1.769 MB / 0.7563 GB, free: 3.34 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8893, allocations: 2.406 kB / 0.7563 GB, free: 3.34 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8893, allocations: 0.875 kB / 0.7563 GB, free: 3.34 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 3.958e-05/0.8893, allocations: 0.75 kB / 0.7563 GB, free: 3.34 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002999/0.8923, allocations: 1.158 MB / 0.7574 GB, free: 18.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.8924, allocations: 11.23 kB / 0.7575 GB, free: 18.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.8946, allocations: 277.9 kB / 0.7577 GB, free: 18.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.8959, allocations: 0.6083 MB / 0.7583 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.896, allocations: 41.41 kB / 0.7584 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.8961, allocations: 55.78 kB / 0.7584 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.8974, allocations: 0.6388 MB / 0.759 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.8974, allocations: 2.656 kB / 0.759 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.8975, allocations: 21.34 kB / 0.7591 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.8975, allocations: 19.41 kB / 0.7591 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009874/0.8985, allocations: 0.5218 MB / 0.7596 GB, free: 18.27 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.003174/0.9017, allocations: 2.455 MB / 0.762 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.9023, allocations: 362.5 kB / 0.7623 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.9027, allocations: 240 kB / 0.7626 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000559/0.9033, allocations: 308.1 kB / 0.7628 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.9033, allocations: 39.45 kB / 0.7629 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 1.993e-06/0.9033, allocations: 1.062 kB / 0.7629 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001409/0.9047, allocations: 0.6178 MB / 0.7635 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.9048, allocations: 55.59 kB / 0.7635 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.9054, allocations: 0.4957 MB / 0.764 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.9054, allocations: 35.23 kB / 0.7641 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.9056, allocations: 323.9 kB / 0.7644 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.9057, allocations: 143.9 kB / 0.7645 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.9059, allocations: 88.72 kB / 0.7646 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002301/0.9061, allocations: 363.4 kB / 0.7649 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.9065, allocations: 178.7 kB / 0.7651 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.9069, allocations: 283.2 kB / 0.7654 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/0.9075, allocations: 454 kB / 0.7658 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9075, allocations: 1.594 kB / 0.7658 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009219/0.9085, allocations: 0.5279 MB / 0.7663 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.9085, allocations: 6.031 kB / 0.7663 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9085, allocations: 3.906 kB / 0.7663 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.9085, allocations: 7.609 kB / 0.7663 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.9092, allocations: 130.4 kB / 0.7665 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004323/0.9096, allocations: 0.5942 MB / 0.7671 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/0.9103, allocations: 53.95 kB / 0.7671 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.9103, allocations: 17.64 kB / 0.7671 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005822/0.9109, allocations: 354.4 kB / 0.7675 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000377/0.9113, allocations: 277.2 kB / 0.7677 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007175/0.912, allocations: 451.8 kB / 0.7682 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.912, allocations: 1.031 kB / 0.7682 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009261/0.913, allocations: 0.5261 MB / 0.7687 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.913, allocations: 7.734 kB / 0.7687 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.913, allocations: 7.281 kB / 0.7687 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.913, allocations: 6.125 kB / 0.7687 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.9135, allocations: 118 kB / 0.7688 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.9135, allocations: 4.281 kB / 0.7688 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.9141, allocations: 40.39 kB / 0.7688 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.9141, allocations: 19.66 kB / 0.7689 GB, free: 14.49 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.9143, allocations: 212.5 kB / 0.7691 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.9144, allocations: 63.69 kB / 0.7691 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009111/0.9154, allocations: 487 kB / 0.7696 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.9154, allocations: 4.094 kB / 0.7696 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.9154, allocations: 2.734 kB / 0.7696 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009429/0.9163, allocations: 0.7066 MB / 0.7703 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.9186, allocations: 1.289 MB / 0.7715 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.9186, allocations: 5.344 kB / 0.7715 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.9193, allocations: 125.6 kB / 0.7717 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.9193, allocations: 2.812 kB / 0.7717 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.9193, allocations: 13.22 kB / 0.7717 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003864/0.9197, allocations: 0.5923 MB / 0.7723 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.9197, allocations: 2.812 kB / 0.7723 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.9211, allocations: 0.7961 MB / 0.773 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.9215, allocations: 187.7 kB / 0.7732 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.9216, allocations: 15.81 kB / 0.7732 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.9221, allocations: 19.81 kB / 0.7733 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.9222, allocations: 26.36 kB / 0.7733 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/0.9223, allocations: 16.86 kB / 0.7733 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006159/0.9229, allocations: 354 kB / 0.7736 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9229, allocations: 0 / 0.7736 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001566/0.9245, allocations: 356.6 kB / 0.774 GB, free: 12.32 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007826/0.9253, allocations: 210.1 kB / 0.7742 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.9271, allocations: 0.6707 MB / 0.7748 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.9271, allocations: 2.094 kB / 0.7748 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004352/0.9275, allocations: 223.8 kB / 0.775 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.9291, allocations: 363.9 kB / 0.7754 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.9311, allocations: 1.385 MB / 0.7767 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.9316, allocations: 0.9506 MB / 0.7777 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005615/0.9321, allocations: 209.3 kB / 0.7779 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.9323, allocations: 54.66 kB / 0.7779 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.9323, allocations: 0 / 0.7779 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.01745/0.9497, allocations: 12.38 MB / 0.79 GB, free: 10.23 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)