Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Components.Validation.Tanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007584/0.0007584, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001809, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001613/0.00321, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9431/0.9431, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1137/1.057, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.957/1.957, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4834/2.441, allocations: 127.1 MB / 0.7432 GB, free: 4.625 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Components.Validation.Tanks") translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7445 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.066e-05, allocations: 4.609 kB / 0.7445 GB, free: 3.344 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.01145/0.01147, allocations: 12.34 MB / 0.7565 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007752/0.01922, allocations: 5.459 MB / 0.7618 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.02046, allocations: 71.88 kB / 0.7619 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.02098, allocations: 250.6 kB / 0.7621 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.02245, allocations: 0.8653 MB / 0.763 GB, free: 416 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009813/0.02344, allocations: 0.6391 MB / 0.7636 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.02521, allocations: 2.048 MB / 0.7656 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009332/0.02615, allocations: 0.5273 MB / 0.7661 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.02737, allocations: 1.003 MB / 0.7671 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005636/0.02794, allocations: 493.2 kB / 0.7676 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.02801, allocations: 64 kB / 0.7676 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005649/0.02858, allocations: 283.4 kB / 0.7679 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.0287, allocations: 151.4 kB / 0.7681 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.02892, allocations: 231.6 kB / 0.7683 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008807/0.0298, allocations: 0.6774 MB / 0.7689 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.02982, allocations: 0 / 0.7689 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.623e-06/0.02982, allocations: 0 / 0.7689 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.02984, allocations: 2.75 kB / 0.7689 GB, free: 10.31 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001378/0.03121, allocations: 1.166 MB / 0.7701 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.03125, allocations: 8.031 kB / 0.7701 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.03148, allocations: 108.7 kB / 0.7702 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008094/0.03229, allocations: 496.6 kB / 0.7707 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.03233, allocations: 37.38 kB / 0.7707 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.0324, allocations: 55.81 kB / 0.7708 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.03295, allocations: 496.9 kB / 0.7712 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.03297, allocations: 7.938 kB / 0.7712 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.03301, allocations: 20 kB / 0.7713 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.03304, allocations: 12 kB / 0.7713 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.03328, allocations: 152.4 kB / 0.7714 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.03516, allocations: 1.685 MB / 0.7731 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.03549, allocations: 180 kB / 0.7732 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/0.03556, allocations: 53.12 kB / 0.7733 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008872/0.03644, allocations: 0.5841 MB / 0.7738 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.03647, allocations: 34.5 kB / 0.7739 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.03647, allocations: 0.5938 kB / 0.7739 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0002951/0.03677, allocations: 183.9 kB / 0.7741 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.0368, allocations: 56.2 kB / 0.7741 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.03715, allocations: 444.8 kB / 0.7745 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.03717, allocations: 34.77 kB / 0.7746 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.03734, allocations: 309 kB / 0.7749 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.03739, allocations: 75.36 kB / 0.7749 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-05/0.03748, allocations: 78.66 kB / 0.775 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.03761, allocations: 374.5 kB / 0.7754 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.03766, allocations: 31.53 kB / 0.7754 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.03812, allocations: 280.5 kB / 0.7757 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.03836, allocations: 245.5 kB / 0.7759 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.03836, allocations: 0 / 0.7759 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003141/0.03867, allocations: 235.6 kB / 0.7761 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.03869, allocations: 9.125 kB / 0.7761 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.0387, allocations: 4 kB / 0.7761 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.03871, allocations: 8 kB / 0.7761 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.03892, allocations: 88.61 kB / 0.7762 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.03893, allocations: 11.98 kB / 0.7762 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.03911, allocations: 36.66 kB / 0.7763 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.03914, allocations: 16 kB / 0.7763 GB, free: 2.367 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0001304/0.03927, allocations: 141.6 kB / 0.7764 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.03933, allocations: 35.97 kB / 0.7765 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.03962, allocations: 185.4 kB / 0.7766 GB, free: 2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.03963, allocations: 8.797 kB / 0.7766 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.03963, allocations: 0 / 0.7766 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002087/0.03984, allocations: 361.5 kB / 0.777 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000687/0.04052, allocations: 0.5874 MB / 0.7776 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.04053, allocations: 0 / 0.7776 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.04069, allocations: 52.53 kB / 0.7776 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.04079, allocations: 67.58 kB / 0.7777 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.0408, allocations: 4.625 kB / 0.7777 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.04081, allocations: 3.984 kB / 0.7777 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.04082, allocations: 8.594 kB / 0.7777 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.04082, allocations: 1.25 kB / 0.7777 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.04116, allocations: 368.3 kB / 0.778 GB, free: 432 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.0412, allocations: 10.44 kB / 0.7781 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.04136, allocations: 0 / 0.7781 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.04139, allocations: 23.91 kB / 0.7781 GB, free: 400 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.04141, allocations: 11.98 kB / 0.7781 GB, free: 388 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001885/0.0416, allocations: 187.2 kB / 0.7783 GB, free: 200 kB / 0.7448 GB Notification: Performance of sort global known variables: time 2.6e-07/0.0416, allocations: 0 / 0.7783 GB, free: 200 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005331/0.04213, allocations: 196.3 kB / 0.7785 GB, free: 4 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.y) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002963/0.04243, allocations: 155.2 kB / 0.7786 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.04268, allocations: 148 kB / 0.7787 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/0.04269, allocations: 11.98 kB / 0.7788 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.04278, allocations: 67.58 kB / 0.7788 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.04365, allocations: 337.8 kB / 0.7791 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006445/0.05009, allocations: 0.9924 MB / 0.7801 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.05021, allocations: 138.1 kB / 0.7802 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003431/0.05056, allocations: 85.59 kB / 0.7803 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/0.051, allocations: 227.1 kB / 0.7805 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of SimCode: time 1.362e-06/0.051, allocations: 3.938 kB / 0.7805 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of Templates: time 0.01657/0.06757, allocations: 10.71 MB / 0.791 GB, free: 3.41 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_13_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_13_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.11085073184222]